aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index 699df5361..94f36c96a 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -997,6 +997,8 @@ CURLcode Curl_http(struct connectdata *conn)
headers = headers->next;
}
+ http->postdata = NULL; /* nothing to post at this point */
+
switch(data->set.httpreq) {
case HTTPREQ_POST_FORM: