#include <HTTPHeaders.h>
Inheritance diagram for HTTPHeaders:

Static Public Member Functions | |
| bool | extract (const std::string &header, size_t hdrpos, size_t len, std::string *extract_hdr, std::string *extract_data, bool before_semi, const char *log) |
| Parse a header line, copying out the header string and value. | |
| bool | extract (const std::string &header, size_t hdrpos, size_t len, const std::string &match, std::string *extract, bool before_semi, const char *log) |
| Look in the header string for the expected http header and copy the value into the extract string. | |
Static Public Attributes | |
| const std::string | ContentLength |
| const std::string | ContentType |
| const std::string | Location |
| const std::string | LastModified |
Definition at line 31 of file HTTPHeaders.h.
|
||||||||||||||||||||||||||||||||
|
Look in the header string for the expected http header and copy the value into the extract string.
Definition at line 57 of file HTTPHeaders.cc. References ASSERT, extract(), LOG_DEBUG, LOG_WARN, and logf(). |
|
||||||||||||||||||||||||||||||||
|
Parse a header line, copying out the header string and value.
Definition at line 11 of file HTTPHeaders.cc. References ASSERT, extract(), LOG_DEBUG, and logf(). Referenced by extract(). |
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7