Displaying 2 results from an estimated 2 matches for "request_lin".
Did you mean:
request_len
2006 Oct 31
5
mongrel parser for server response
...an using
''any'' to match the status text?
http_number = (digit+ "." digit+) ;
HTTP_Version = ("HTTP/" http_number) >mark %http_version ;
Http_status_code = (digit){3} >mark %http_status_code ;
Http_status_text = any* >mark %http_status_text ;
Request_Line = (HTTP_Version " " Http_status_code " " Http_status_text CRLF) ;
field_name = (token -- ":")+ >start_field %write_field;
field_value = any* >start_value %write_value;
message_header = field_name ":" " "* field_value :> CRLF;
R...
2005 Dec 22
5
How to access request''s raw_header: HTTP hdr sent by browser
...T request on a page, and couldn''t find where. I''m using
webrick.
Here are the tries I did to get access to it:
class ZController < ApplicationController
def info
#render :inline => request.inspect
#render :inline => raw_header.inspect
#render :inline => request_line.inspect
#render :inline => req.inspect
#render :inline => meta.inspect
#render :inline => header.inspect
#render :inline => headers.inspect # --> response headers
#render :inline => $:.inspect
#render :inline => $*.inspect
#render :inline => $&qu...