| 1378 | } |
| 1379 | |
| 1380 | static void WriteHttpCode(IOutputStream& os, TMaybe<IRequest::TResponseError> error) { |
| 1381 | if (!error.Defined()) { |
| 1382 | os << HttpCodeStrEx(HttpCodes::HTTP_OK); |
| 1383 | return; |
| 1384 | } |
| 1385 | |
| 1386 | os << HttpCodeStrEx(GetHttpCode(*error)); |
| 1387 | } |
| 1388 | |
| 1389 | public: |
| 1390 | inline TWrite(TData& data, const TString& compressionScheme, TIntrusivePtr<TSslServerIOStream> io, TServer* server, const TString& headers, int httpCode) |
nothing calls this directly
no test coverage detected