summaryrefslogtreecommitdiff
path: root/lib/httpserver/HTTPRequest.h
Commit message (Collapse)AuthorAge
* Whitespace, import order and comment fixesChris Wilson2015-08-29
|
* Add utility methods to HTTPRequest and HTTPResponse classes.Chris Wilson2015-07-31
| | | | | Allow getting method name of an HTTPRequest, and connection open/closed status of an HTTPResponse.
* Fix compile error on OpenSolaris 10/Sun Studio 12. (merges [2720])Chris Wilson2010-08-28
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* 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.
* Copy HTTP server into Box, for use with S3 testing.Chris Wilson2009-01-03