curl-curl/tests/data/test469
Viktor Szakats 9243ed59b3
spacecheck.pl: verify tests/data/test* for non-ASCII chars
Exclude test data files (4 of them) based on existing feature tags:
`codeset-utf8` and `Unicode`.

Add the new keyword `non-ascii` to mark remaining exceptions (9 files).

Follow-up to 838dc53bb7 #17247

Closes #17329
2025-05-13 08:47:47 +02:00

54 lines
800 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
non-ascii
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Accept-Ranges: bytes
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
-foo-
</data>
</reply>
#
# Client-side
<client>
<features>
!win32
</features>
<server>
http
</server>
<name>
warn about Unicode quote character
</name>
<command>
-H “host: %HOSTIP:%HTTPPORT/” -s
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stderr>
%hex[Warning: The argument '%e2%80%9chost:' starts with a Unicode quote where maybe an ]hex%
Warning: ASCII " was intended?
</stderr>
</verify>
</testcase>