| 756 | } |
| 757 | |
| 758 | const char* SC::HttpClientCapabilities::getFeatureName(Feature feature) |
| 759 | { |
| 760 | switch (feature) |
| 761 | { |
| 762 | case MultipleOperationsPerClient: return "multiple-operations-per-client"; |
| 763 | case FixedRequestBody: return "fixed-request-body"; |
| 764 | case SizedStreamRequestBody: return "sized-stream-request-body"; |
| 765 | case ChunkedStreamRequestBody: return "chunked-stream-request-body"; |
| 766 | case RedirectPolicy: return "redirect-policy"; |
| 767 | case ProtocolHttp11Only: return "protocol-http11-only"; |
| 768 | case ProtocolHttp2Preferred: return "protocol-http2-preferred"; |
| 769 | case ProtocolHttp2Required: return "protocol-http2-required"; |
| 770 | case TlsDisablePeerVerification: return "tls-disable-peer-verification"; |
| 771 | case TlsCustomCaPath: return "tls-custom-ca-path"; |
| 772 | case ProxyNoProxy: return "proxy-no-proxy"; |
| 773 | case ProxyHttp: return "proxy-http"; |
| 774 | case ProxyAuthorization: return "proxy-authorization"; |
| 775 | case ProxyBypassList: return "proxy-bypass-list"; |
| 776 | case ContentCodingPolicy: return "content-coding-policy"; |
| 777 | } |
| 778 | return "unknown"; |
| 779 | } |
| 780 | |
| 781 | const char* SC::HttpClientRequestBody::getFramingName(Framing framing) |
| 782 | { |
nothing calls this directly
no outgoing calls
no test coverage detected