D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Chunked
/
Filename :
cdesc-Chunked.ri
back
Copy
U:RDoc::NormalClass[iI"Chunked:ETI"Rack::Chunked;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"JMiddleware that applies chunked transfer encoding to response bodies ;TI"@when the response does not include a content-length header.;To:RDoc::Markup::BlankLine o; ;[I"LThis supports the trailer response header to allow the use of trailing ;TI"Qheaders in the chunked encoding. However, using this requires you manually ;TI"Ispecify a response body that supports a +trailers+ method. Example:;T@o:RDoc::Markup::Verbatim;[I":[200, { 'trailer' => 'expires'}, ["Hello", "World"]] ;TI"# error raised ;TI" ;TI"body = ["Hello", "World"] ;TI"def body.trailers ;TI"& { 'expires' => Time.now.to_s } ;TI" end ;TI",[200, { 'trailer' => 'expires'}, body] ;TI"# No exception raised;T:@format0: @fileI"lib/rack/chunked.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [[I"Rack::Utils;To;;[ ; @#;0I"lib/rack/chunked.rb;T[[I" class;T[[:public[[I"new;T@+[:protected[ [:private[ [I" instance;T[[;[[I" call;T@+[I"chunkable_version?;T@+[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@#I" Rack;TcRDoc::NormalModule