Simon Liu's HTTP200ALIASES-patch!

This commit is contained in:
Daniel Stenberg
2003-01-07 16:15:53 +00:00
parent 7f0f10e498
commit ec24efda74
4 changed files with 48 additions and 2 deletions

View File

@@ -1095,6 +1095,13 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
data->set.private = va_arg(param, char *);
break;
case CURLOPT_HTTP200ALIASES:
/*
* Set a list of aliases for HTTP 200 in response header
*/
data->set.http200aliases = va_arg(param, struct curl_slist *);
break;
default:
/* unknown tag and its companion, just ignore: */
return CURLE_FAILED_INIT; /* correct this */