ruby-win32/lib/ruby/gems/1.8/gems/rubyforge-0.4.4/lib/http-access2/http.rb
# HTTP version string in a HTTP header.
HTTP version string in a HTTP header.
HTTP version string in a HTTP header .
def request_line
      path = if @request_via_proxy
	if @request_uri.port
	  "#{ @request_uri.scheme }://#{ @request_uri.host }:#{ @request_uri.port }#{ @request_query }"
	else
	  "#{ @request_uri.scheme }://#{ @request_uri.host }#{ @request_query }"
	end
      else
	@request_query
      end
      dump_line("#{ @request_method } #{ path } #{ @http_version }")
    end
def request_line path = if @request_via_proxy if @request_uri . port "#{ @request_uri.scheme }://#{ @request_uri.host }:#{ @request_uri.port }#{ @request_query }" else "#{ @request_uri.scheme }://#{ @request_uri.host }#{ @request_query }" end else @request_query end dump_line ( "#{ @request_method } #{ path } #{ @http_version }" ) end
HTTP version string in a HTTP header.
HTTP version string in a HTTP header .