Only allow GET and HEAD for static files or return 405.
authorreyk <reyk@openbsd.org>
Sun, 3 Aug 2014 22:47:25 +0000 (22:47 +0000)
committerreyk <reyk@openbsd.org>
Sun, 3 Aug 2014 22:47:25 +0000 (22:47 +0000)
commitb4a1c449cd30b7cd4b724fad059b0200e69bde66
tree4e144a6ce0108bbc45a8afa2ebe853d954c34443
parente9b02f4a713c28d2e0c7eb0f74def3c360d21242
Only allow GET and HEAD for static files or return 405.

ok florian@
usr.sbin/httpd/server_file.c