1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

15 commits

Author SHA1 Message Date
zedshaw
c45b6f077e LGPL preamble on all source files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@203 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-21 14:46:42 +00:00
zedshaw
1f2ada2d7b Bug 4473 dirhandler now escapes file paths properly.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@200 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-20 22:47:34 +00:00
zedshaw
4aa7050dd2 Man gvim spell checking is the bomb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@198 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-20 21:21:29 +00:00
zedshaw
429ebcd5df Improved conditional response code from Dan Kubb. Handles ETag on 304 responses better.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@173 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-13 21:25:53 +00:00
zedshaw
0ca765c199 Conditional response code from Dan Kubb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@163 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-04 16:07:56 +00:00
why
3cf03ae9f3 Added send_file method to the HttpResponse, culling parts from the DirHandler. Added support for the X-SENDFILE header to the Camping bridge.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@155 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-11 00:00:52 +00:00
zedshaw
d9523cba31 Fix to the content-type header for default types.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@152 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-08 20:42:11 +00:00
zedshaw
d95ed2690e Fixes the default content type and headers for unknown mime types. Fixes the httpdate on responses and last-modified. Add support for arbitrary request methods within the limites of 20 characters, uppercase, digits, or safe chars.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@151 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-08 18:00:35 +00:00
zedshaw
5d600bfd24 Minor tweaks to the handlers and http parser to deal with more bad input possibilities.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@139 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-03 15:22:17 +00:00
zedshaw
b87e5685a2 Implements minor little tweaks to reduce String cycling. Adds ETag and Last-Modified headers to DirHandler so static files are cached by the browser.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@132 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-30 09:31:14 +00:00
zedshaw
836a545e65 Fixes for processing static files where the client aborts.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@130 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-28 15:39:53 +00:00
zedshaw
e0860470ca Big fix for the DirHandler so it sends only one content-length. Fix for how config/environment is required (thanks Trotter).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@127 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-28 02:06:50 +00:00
zedshaw
110e92752b Final tweaks to speed up the file serving a bit using sendfile and a modified file handler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@124 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-27 06:10:07 +00:00
zedshaw
f4a5c938d4 First crack at some advanced debugging features for mongrel and the console.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@121 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-25 21:15:30 +00:00
zedshaw
e5c2f9404a As the CGI and Handlers get bigger we'll need to separate their code out. This change does that.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@53 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-21 00:55:39 +00:00