Object
Very simple class to hold everything about an HTTP request.
Calculates and sets the length of the body.
# File lib/gdata/http/request.rb, line 62 def calculate_length! if not @headers['Content-Length'] and not chunked? and method != :get and method != :delete if @body @headers['Content-Length'] = @body.length else @headers['Content-Length'] = 0 end end end
Generated with the Darkfish Rdoc Generator 2.