1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Init postdata properly before issuing a request, so that there isn't any

lingering POST-stuff that confuses GET requests. Juan F. Codagnone reported
this problem in bug report #653859.
This commit is contained in:
Daniel Stenberg 2003-03-02 17:43:42 +00:00
parent 39a282bffc
commit 3242ea5f66

View File

@ -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: