mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
+ HTTP.{cpp,h} : add HTTPRes::is_gzipped()
This commit is contained in:
parent
728f2670f3
commit
c4721e1020
2 changed files with 15 additions and 0 deletions
3
HTTP.h
3
HTTP.h
|
@ -118,6 +118,9 @@ namespace http {
|
|||
|
||||
/** @brief Checks that response declared as chunked data */
|
||||
bool is_chunked();
|
||||
|
||||
/** @brief Checks that response contains compressed data */
|
||||
bool is_gzipped();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue