MCPcopy Create free account
hub / github.com/catboost/catboost / BodyNotExpected

Method BodyNotExpected

library/cpp/http/push_parser/http_parser.h:47–49  ·  view source on GitHub ↗

* Disable message-body parsing. * Useful for parse HEAD method responses */

Source from the content-addressed store, hash-verified

45 * Useful for parse HEAD method responses
46 */
47 inline void BodyNotExpected() {
48 BodyNotExpected_ = true;
49 }
50
51 /// @return true on end parsing (GetExtraDataSize() return amount not used bytes)
52 /// throw exception on bad http format (unsupported encoding, etc)

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected