…lemented due to lack of tests. Closes #292.
…ing, added ipv6 loopback and private address ranges to the default regex Signed-off-by: Konstantin Haase <email@example.com>
Signed-off-by: Konstantin Haase <firstname.lastname@example.org>
After this commit, Rack::Request#accept_encoding doesn't raise an exception for invalid Accept-Encoding value. If Rack::Request#accept_encoding may raise an exception, Rack::Middleware::Deflater may also raise an exception. Because Rack::Middleware::Deflater dosn't rescue an exception from Rack::Request#accept_encoding. On the exception case, it seems that either returning "400 Bad Request" or just ignoring invalid value is better behavior. This patch uses the latter solution.
… a port segment to imply 'standard port', not 'use the SERVER_PORT'
Signed-off-by: raggi <email@example.com>
The session has two flags, one for reading and another for writing. If the session is just read, we get it from the store but do not send a cookie a back to the client unless it was written. This commit also adds Rack::Request#ssl? for convenience. Signed-off-by: raggi <firstname.lastname@example.org>
…ormation if available