]> Sergey Matveev's repositories - public-inbox.git/commit
wwwstatic: move r(...) functions here
authorEric Wong <e@80x24.org>
Wed, 1 Jan 2020 10:38:56 +0000 (10:38 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Jan 2020 19:10:55 +0000 (19:10 +0000)
commit02f9b34f398bef722159cd54a629441f861d37b7
tree8d58442693e693921785bd004cd1b3cb8e30266d
parent6348b9adcf8a7d4a455298f45f62338e148d691a
wwwstatic: move r(...) functions here

Remove redundant "r" functions for generating short error
responses.  These responses will no longer be cached by clients,
which is probably a good thing since most errors ought to be
transient, anyways.  This also fixes error responses for our
cgit wrapper when static files are missing.
lib/PublicInbox/Cgit.pm
lib/PublicInbox/GitHTTPBackend.pm
lib/PublicInbox/WWW.pm
lib/PublicInbox/WwwHighlight.pm
lib/PublicInbox/WwwStatic.pm