* Disable message-body parsing. * Useful for parse HEAD method responses */
| 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) |