Bug #9986 » webrick_transfer_encoding_chunked_content_length_fix.patch
| lib/webrick/httpresponse.rb | ||
|---|---|---|
|
# Sets the response header +field+ to +value+
|
||
|
def []=(field, value)
|
||
|
@chunked = value.to_s.downcase == 'chunked' if field.downcase == 'transfer-encoding'
|
||
|
@header[field.downcase] = value.to_s
|
||
|
end
|
||
- « Previous
- 1
- 2
- 3
- Next »