Added support for chunked http transfers
sf::Http now understands transfers that are sent using Chunked Transfer Encoding (RFC 2616; section 3.6.1).
This commit is contained in:
parent
08b49cc15c
commit
306b77bfc5
2 changed files with 53 additions and 5 deletions
|
@ -316,6 +316,18 @@ public :
|
|||
////////////////////////////////////////////////////////////
|
||||
void parse(const std::string& data);
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Read values passed in the answer header
|
||||
///
|
||||
/// This function is used by Http to extract values passed
|
||||
/// in the response.
|
||||
///
|
||||
/// \param in String stream containing the header values
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void parseFields(std::istream &in);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Types
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue