AlkantarClanX12
Current Path : /opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.10/ri/Rack/Chunked/ |
Current File : //opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.10/ri/Rack/Chunked/cdesc-Chunked.ri |
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