mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
test1147: hyper doesn't allow "crazy" request headers like built-in
... so strip that from the test. Closes #7349
This commit is contained in:
parent
a62ece3f57
commit
c3d612662d
@ -510,7 +510,7 @@ CURLcode Curl_hyper_header(struct Curl_easy *data, hyper_headers *headers,
|
||||
|
||||
if(HYPERE_OK != hyper_headers_add(headers, (uint8_t *)n, nlen,
|
||||
(uint8_t *)v, vlen)) {
|
||||
failf(data, "hyper_headers_add host");
|
||||
failf(data, "hyper refused to add header '%s'", line);
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
if(data->set.verbose) {
|
||||
|
@ -95,7 +95,6 @@
|
||||
1137
|
||||
1138
|
||||
1144
|
||||
1147
|
||||
1156
|
||||
1160
|
||||
1164
|
||||
|
@ -40,7 +40,9 @@ One: 1
|
||||
Two: 2
|
||||
no-colon
|
||||
|
||||
%if !hyper
|
||||
And A Funny One : wohoo
|
||||
%endif
|
||||
User-Agent:
|
||||
</file>
|
||||
<command>
|
||||
@ -57,7 +59,9 @@ Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
One: 1
|
||||
Two: 2
|
||||
%if !hyper
|
||||
And A Funny One : wohoo
|
||||
%endif
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
Loading…
Reference in New Issue
Block a user