summary refs log tree commit
DateCommit message (Collapse)
2009-10-05Relax Lint slightly to allow subclasses of the required types
2009-09-08Pass more options to mongrel
2009-09-05lib/ should already be added to the $LOAD_PATH by the package manager
2009-09-05rackup should expect $LOAD_PATH to already be set up
2009-08-12Checking that the FCGI::Stream class exists, before trying to override the ↵
read method. The FCGI::Stream class does not exist in the pure ruby version of the FCGI module. FCGI will use pure ruby if: 1. FCGI_PURE_RUBY = true 2. The C version of FCGI doesn't load (lib not found or the like) Signed-off-by: Christian Neukirchen <chneukirchen@gmail.com>
2009-08-12Merge commit 'official/master'
2009-08-06Update Rack::Utils::HTTP_STATUS_CODES hash
This adds the following status code lookups for the 102, 207, 226, 306, 422, 423, 424, 426, 506, 507, and 510 status codes. Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-08-05Revert "Add common HTTP strings to Rack::Const"
This reverts commit 6ae0a1014c2bfc06ad4d91ea04da5c42be454079.
2009-08-03Kill stray debug line
2009-08-03Use more compatible gzip write api instead of "<<".
Fixes undefined method `<<' for Zlib::GzipWriter on JRuby
2009-08-03Add common HTTP strings to Rack::Const
2009-08-03Don't buffer response bodies in session store by creating an unnecessary ↵
response wrapper. Extracted set and delete cookie helpers into Utils so they can be used outside Response.
2009-08-03rack.input should be ASCII-8BIT even if it's StringIO (for test)
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-08-04use Rack::Utils::bytesize, not String#size for multibyte characters in Ruby1.9
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-08-03Mongrel handler should use rack_input var
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-08-03Return an empty string for Request#host if HTTP_HOST and SERVER_NAME are ↵
both missing
2009-07-31added ogv mime type so that firefox can read theora videos using the html5 ↵
<video> tag
2009-07-25Fixing return value of figure_path when nothing was found
2009-07-19Became conscious of __END__
Signed-off-by: Christian Neukirchen <chneukirchen@gmail.com>
2009-06-30Set correct external_encoding for handlers that don't use RewindableInput
2009-06-23Use #to_s and #downcase on the ext passed to Rack::Mime::mime_type
2009-06-17Document more clearly that rack.input must be opened in binary mode, and ↵
enforce it in Rack::Lint Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-06-17Fix unit test errors in spec_rack_commonlogger.rb
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-06-17Enforce binary encoding in RewindableInput; fixes Ruby 1.9 issues.
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-06-17Fix Rack::Utils::HeaderHash#delete: it's supposed to return the deleted ↵
value, or nil if the key doesn't exist. [#54 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-06-15Add Rack::Utils::HeaderHash#replace
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-06-12Forgot changing license of Rack::Reloader to MIT
2009-06-05Make sure that Reloader doesn't break when executed via ruby -e
2009-06-01Make sure WEBrick respects the :Host option
2009-05-23Readdition of dropped file require statement
2009-05-23Typoe of #auth for @authenticator
Signed-off-by: Scytrin dai Kinthra <scytrin@gmail.com>
2009-05-23Documentation reorganization for Rack::Auth::OpenID
Adjust derivation of values for ValidStatus Whitespace and syntax cleanups. Changed authorship tagline.
2009-05-23Fix for form names containing "=": split first then unescape components
Signed-off-by: Christian Neukirchen <chneukirchen@gmail.com>
2009-05-16Speed up common header reads by avoiding downcase
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-16Allow empty cascades. Reduce #call object allocation overhead. Speed up ↵
#include? Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-16Rack::Request#POST raises if rack.input is missing instead of returning the ↵
uninitialized rack.request.form_hash Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-16Work in tandem with ContentLength. Avoid dup per request.
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-16optimizations of parse/build query
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-10Kill request instance memoization
2009-05-02Only try to get the rack.errors.string if possible so we don't violate the spec
2009-04-30Bump remainder of rack.versions
2009-04-29Switch to emacs style encoding comment
2009-04-29Fix multipart uploads on 1.9
2009-04-28Add anchor to nested params parsing regexp to prevent stack overflows
2009-04-28Fix shadowed variables in memcache session spec
2009-04-28In 1.9, MemCache client raises an ArgumentError instead of a Runtime error ↵
if no servers can be found
2009-04-28Fix constant already defined warning in tests
2009-04-28Skip Memcache tests if no servers can be found
2009-04-28Utils::Multipart.build_multipart returns nil if no UploadedFiles are included
2009-04-28Fix brittle query string generation tests