diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-08 16:17:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-08 16:23:58 +0100 |
commit | 220abe75795d48a6f7903fd6f6853e503c2e47a4 (patch) | |
tree | b6f301f2d80b1afa4467b403da6fd14140812790 /lib/c-hyper.c | |
parent | 060658f634f7d599ab163eb3bfedfb8b8e23f6e2 (diff) | |
download | curl-bagder/hyper-authneg.tar.gz |
http: make 'authneg' also work for Hyperbagder/hyper-authneg
When doing a request with a request body expecting a 401/407 back, that
initial request is sent with a zero content-length. Test 177 and more.
Diffstat (limited to 'lib/c-hyper.c')
-rw-r--r-- | lib/c-hyper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 19ba8d9b8..4a68ffba0 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -670,7 +670,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) if(!pq) return CURLE_OUT_OF_MEMORY; } - result = Curl_http_output_auth(conn, method, + result = Curl_http_output_auth(conn, method, httpreq, (pq ? pq : data->state.up.path), FALSE); free(pq); if(result) |