<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 22 Jul 2010 11:22:33 GMT
Content-Length: 9

Blafasel
</data>
</reply>


<client>
<server>
http
</server>
<name>
HTTP client header order
</name>
<command>
-H "Origin: https://www.privoxy.org/" -H "Cache-Control: max-age=315576000" -H "If-Modified-Since: Thu, 07 Jan 2021 22:05:31 GMT" -H "Upgrade-Insecure-Requests: 1" -H "Pragma: no-cache" -H "DNT: 1" -H "Cookie: yolo=123" -H "Referer: https://www.example.org/" -H "Proxy-Connection: keep-alive" -H "Accept-Encoding: gzip" -H "Accept: */*" -H "Host: %HOSTIP:%HTTPPORT" -H "Accept-Language: en-CA" --user-agent "Client with unsorted headers" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1%CR
Host: %HOSTIP:%HTTPPORT%CR
User-Agent: Client with unsorted headers%CR
Accept: */*%CR
Accept-Language: en-CA%CR
Accept-Encoding: gzip%CR
Referer: https://www.example.org/%CR
Cookie: yolo=123%CR
DNT: 1%CR
Connection: close%CR
Pragma: no-cache%CR
Upgrade-Insecure-Requests: 1%CR
If-Modified-Since: Thu, 07 Jan 2021 22:05:31 GMT%CR
Cache-Control: max-age=315576000%CR
Origin: https://www.privoxy.org/%CR
%CR
</protocol>
</verify>
</testcase>
