Class GData::HTTP::Request
In: lib/gdata/http/request.rb
Parent: Object

Very simple class to hold everything about an HTTP request.

Methods

Attributes

body  [RW]  The body of the request.
headers  [RW]  The HTTP headers of the request.
method  [RW]  The HTTP method being used in the request.
url  [RW]  The URL of the request.

Public Class methods

Only the URL itself is required, everything else is optional.

Public Instance methods

Calculates and sets the length of the body.

Sets if the request is using chunked transfer-encoding.

Returns whether or not a request is chunked.

[Validate]