index
:
rack.git
ancient-chunked
builder-map-to_app
chunk
conditionalget
deflate-flush
deflate-flush-c0d7bc2d
deflater
lint-case-sens
lint-headerhash
logger-time
master
misattribute
mri-1.9.2dev
no-deflate
no-unicorn
rack-1.1-doc
rack.io
readme-trim
rfc7231-sec6.3.6-205
showexceptions
webrick-devdep
webrick-header-each
when-lit
yahns
yhbt
zlib-disco
a modular Ruby webserver interface
summary
refs
log
tree
commit
log msg
author
committer
range
path:
root
/
lib
/
rack
/
response.rb
Date
Commit message (
Expand
)
2022-05-25
Fix various spelling issues. (#1897)
2022-04-28
Add methods for HTTP status codes 406 and 408 (#1882)
2022-04-11
Tidy up documentation and specs in relation to lower case headers. (#1855)
2022-04-09
Rework Rack::Response#initialize documentation to be RDoc format. (#1861)
2022-03-02
Allow header value to be an Array of String instances. (#1793)
2022-02-23
Update lib/rack/response.rb
2022-02-23
Correct handling of streaming body in `Rack::Response`.
2022-02-23
Add deprecation warning to `Rack::Response#headers`.
2022-02-18
Change SPEC to not allow uppercase header keys
2022-02-03
Enable directly requiring Rack components
2020-09-24
use @status instead of status.to_i
2020-02-05
Prefer instance variables and use explicit returns.
2020-02-05
Convenient cache and content type methods for `Rack::Response`.
2020-02-05
Memoize header hash usage. Fixes #738.
2020-02-05
Enable `Style/MethodDefParentheses` cop to avoid newly add no paren method de...
2020-01-29
Fix Response#write calculation of Content-Length if initialized with a body
2020-01-28
Revert moving attributes below `#initialize`.
2020-01-28
Fix documentation type syntax.
2020-01-27
Use require_relative and rely on autoload instead of using require
2020-01-24
Document `Rack::Response#initialize` and `#finish`.
2020-01-22
Enable `Layout/TrailingWhitespace` cop to prevent extra trailing space in future
2020-01-14
Update lib/rack/response.rb
2020-01-14
Add new `Response.[]` and `MockResponse.[]` which are very similar. Fixes #1094.
2020-01-11
Ensure body is closed after buffering it. Fixes #877.
2020-01-08
Don't propagate nil values.
2020-01-08
Prefer parentheses.
2020-01-08
Remove trailing whitespace.
2020-01-07
Prefer `Hash#[]` which is about 20% faster and more logical.
2020-01-07
Reuse `Rack::Utils::STATUS_WITH_NO_ENTITY_BODY`.
2020-01-07
Lazily initialize the response body and only buffer it if required.
2020-01-06
Remove `to_ary` from Response
2019-10-28
Revert the introduction of SimpleBodyProxy
2019-04-02
Merge pull request #1325 from jodosha/performance/remove-useless-header-merge
2019-01-23
Ensure initialization of Utils::HeaderHash will dup given headers
2019-01-04
Don't mutate given headers
2019-01-03
Merge pull request #1328 from jodosha/performance/status-with-no-entity-body
2018-12-20
Reduce the scope for Response
2018-12-20
Transform Utils::STATUS_WITH_NO_ENTITY_BODY into a Hash
2018-12-19
Introduce Rack::SimpleBodyProxy
2018-12-19
Performance: remove useless header merge from Response
2018-07-29
remove .freeze
2018-04-17
RuboCop: enable Layout/Space* cops (#1259)
2018-04-13
Add frozen_string_literal: true to remaining files
2016-12-14
Revert "Add 205 Reset Content to the list of statuses without a message body"
rfc7231-sec6.3.6-205
2015-10-06
* Add `Rack::Response::Helpers#cache_control` and `cache_control=`.
2015-10-06
* Add `Rack::Response::Helpers#etag` and `etag=`. Use this for
2015-10-03
`Response#add_header` to add to a value to a multivalued header
2015-09-24
use a response object when committing the session
2015-08-29
Rack::Response::Helpers#redirect? would accept 308 status code
2015-08-29
Remove any reference to 418 status code
[next]