Method: FTW::Request#request_line

Defined in:
lib/ftw/request.rb

#request_lineObject Also known as: start_line

Get the request line (first line of the http request) From the RFC: Request-Line = Method SP Request-URI SP HTTP-Version CRLF

Note: I skip the trailing CRLF. See the to_s method where it is provided.



145
146
147
# File 'lib/ftw/request.rb', line 145

def request_line
  return "#{method} #{request_uri} HTTP/#{version}"
end