| 964 | } |
| 965 | |
| 966 | unsigned ParseHttpRetCode(const TStringBuf& ret) { |
| 967 | const TStringBuf code = StripString(StripString(ret.After(' ')).Before(' ')); |
| 968 | |
| 969 | return FromString<unsigned>(code.data(), code.size()); |
| 970 | } |
| 971 | |
| 972 | void SendMinimalHttpRequest(TSocket& s, const TStringBuf& host, const TStringBuf& request, const TStringBuf& agent, const TStringBuf& from) { |
| 973 | TSocketOutput so(s); |
no test coverage detected