summaryrefslogtreecommitdiff
path: root/lib/httpserver/HTTPRequest.cpp
Commit message (Collapse)AuthorAge
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* Fix type of string position variable to avoid failure (and warning) onChris Wilson2009-03-16
| | | | | platforms where size_t is signed, e.g. FreeBSD.
* Add Amazon S3 signature checking to simulator.Chris Wilson2009-01-06
|
* Don't read the whole uploaded body in HTTPRequest::Receive, as the Chris Wilson2009-01-05
| | | | | | | | | | | | | | | | | client may be expecting a 100 Continue header (or other response) before sending it, and only the HTTPServer should send that for us. Keep track of the stream that we're reading from, in case there's a body to read later. Simplify parsing of HTTP method, and add support for PUT requests. Add support for parsing Expect headers and storing and retrieving any unrecognised headers. Add support for sending a streaming upload from an IOStream with an HTTP request as the body (e.g. for PUT requests).
* Allow adding headers to an HTTPRequest.Chris Wilson2009-01-04
| | | | | | | | Allow getting response headers out of HTTPResponse. Rename HTTPRequest Read and Write methods to Send and Receive, to avoid confusion with IOStream.
* Add ability to send an HTTPRequest to a socket and to parse an Chris Wilson2009-01-03
| | | | | HTTPResponse from a socket, to create a simple HTTP client.
* Compile and config verify fixes for HTTP server code.Chris Wilson2009-01-03
|
* Copy HTTP server into Box, for use with S3 testing.Chris Wilson2009-01-03