| 425 | } |
| 426 | |
| 427 | TString THttpInput::BestCompressionScheme(TArrayRef<const TStringBuf> codings) const { |
| 428 | return NHttp::ChooseBestCompressionScheme( |
| 429 | [this](const TString& coding) { |
| 430 | return AcceptEncoding(coding); |
| 431 | }, |
| 432 | codings |
| 433 | ); |
| 434 | } |
| 435 | |
| 436 | TString THttpInput::BestCompressionScheme() const { |
| 437 | return BestCompressionScheme(TCompressionCodecFactory::Instance().GetBestCodecs()); |
no test coverage detected