updated a comment
This commit is contained in:
parent
7c3ee84295
commit
fce9d51122
@ -1766,13 +1766,11 @@ CURLcode Curl_http(struct connectdata *conn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!checkheaders(data, "Content-Type:")) {
|
if(!checkheaders(data, "Content-Type:")) {
|
||||||
/* Get Content-Type: line from Curl_formpostheader, which happens
|
/* Get Content-Type: line from Curl_formpostheader.
|
||||||
to always be the first line. We can know this for sure since
|
|
||||||
we always build the formpost linked list the same way!
|
|
||||||
|
|
||||||
The Content-Type header line also contains the MIME boundary
|
The Content-Type header line also contains the MIME boundary
|
||||||
string etc why disabling this header is likely to not make things
|
string etc why disabling this header is likely to not make things
|
||||||
work, but we support it anyway.
|
work, but we support disabling it anyway.
|
||||||
*/
|
*/
|
||||||
char *contentType;
|
char *contentType;
|
||||||
size_t linelength=0;
|
size_t linelength=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user