summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-07-13 09:58:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-14 17:53:45 +0200
commitd75e3ab74c91eff67363cba064611d405105a12f (patch)
treef133a3f168915803e5a63ed44eadb0d6cad367d3 /lib/http.c
parent8fa3f7809a30753a6c6bbedaf243de7447d018f3 (diff)
downloadcurl-d75e3ab74c91eff67363cba064611d405105a12f.tar.gz
CURLINFO_EFFECTIVE_METHOD: added
Provide the HTTP method that was used on the latest request, which might be relevant for users when there was one or more redirects involved. Closes #5511
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c
index 28d66c287..8fcdd436d 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2014,9 +2014,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
case HTTPREQ_PUT:
request = "PUT";
break;
- case HTTPREQ_OPTIONS:
- request = "OPTIONS";
- break;
default: /* this should never happen */
case HTTPREQ_GET:
request = "GET";