From: Eric Wong Date: Wed, 18 Dec 2019 03:36:41 +0000 (+0000) Subject: viewvcs: flesh out some functionality and test X-Git-Tag: v1.3.0~216 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=77632ad87adfecfa2aa9099d44dcb42ae9a2a208;hp=77632ad87adfecfa2aa9099d44dcb42ae9a2a208;p=public-inbox.git viewvcs: flesh out some functionality and test Expose MAX_SIZE via "our" will make it possible to use in tests, and configure, later. Additionally, returning HTTP 500 code for big files is not an Internal Server Error, just a memory limit... Some browsers won't show our HTML response with the link to the raw file in case of errors, either, so we'll return 200 to ensure users can use the link to access the raw blob. Finally, throw in some tests to the existing solver_git testcase, since that was incomplete and was pointlessly loading Plack modules without testing PSGI. ---