httpreq cleanup fix

This commit is contained in:
Daniel Stenberg
2001-08-03 11:52:53 +00:00
parent 9b69f6faab
commit 8987244758
4 changed files with 31 additions and 31 deletions

View File

@@ -1046,10 +1046,8 @@ CURLcode Curl_perform(CURL *curl)
case 303: /* See Other */
/* Disable both types of POSTs, since doing a second POST when
* following isn't what anyone would want! */
data->bits.http_post = FALSE;
data->bits.http_formpost = FALSE;
data->httpreq = HTTPREQ_GET; /* enfore GET request */
infof(data, "Disables POST\n");
data->httpreq = HTTPREQ_GET; /* enforce GET request */
infof(data, "Disables POST, goes with GET\n");
break;
case 304: /* Not Modified */
/* 304 means we did a conditional request and it was "Not modified".