| 886 | } |
| 887 | |
| 888 | void |
| 889 | HttpTransactHeaders::remove_100_continue_headers(HttpTransact::State *s, HTTPHdr *outgoing) |
| 890 | { |
| 891 | int len = 0; |
| 892 | const char *expect = s->hdr_info.client_request.value_get(MIME_FIELD_EXPECT, MIME_LEN_EXPECT, &len); |
| 893 | |
| 894 | if ((len == HTTP_LEN_100_CONTINUE) && (strncasecmp(expect, HTTP_VALUE_100_CONTINUE, HTTP_LEN_100_CONTINUE) == 0)) { |
| 895 | outgoing->field_delete(MIME_FIELD_EXPECT, MIME_LEN_EXPECT); |
| 896 | } |
| 897 | } |
| 898 | |
| 899 | //////////////////////////////////////////////////////////////////////// |
| 900 | // Deal with lame-o servers by removing the host name from the url. |
nothing calls this directly
no test coverage detected