| 30 | } |
| 31 | |
| 32 | void THttpInputHeader::OutTo(IOutputStream* stream) const { |
| 33 | typedef IOutputStream::TPart TPart; |
| 34 | |
| 35 | const TPart parts[] = { |
| 36 | TPart(Name_), |
| 37 | TPart(": ", 2), |
| 38 | TPart(Value_), |
| 39 | TPart::CrLf(), |
| 40 | }; |
| 41 | |
| 42 | stream->Write(parts, sizeof(parts) / sizeof(*parts)); |
| 43 | } |
| 44 | |
| 45 | THttpHeaders::THttpHeaders(IInputStream* stream) { |
| 46 | TString header; |
no test coverage detected