xref: /curl/tests/data/test2500 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP/3
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data nocheck="yes" crlf="yes">
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
17ETag: "21025-dc7-39462498"
18Accept-Ranges: bytes
19Content-Length: 6
20Connection: close
21Content-Type: text/html
22Funny-head: yesyes
23
24-foo-
25</data>
26</reply>
27
28#
29# Client-side
30<client>
31<features>
32http/3
33nghttpx-h3
34</features>
35<server>
36http
37http/3
38</server>
39<name>
40HTTP/3 GET:
41</name>
42<command>
43--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --http3 --resolve localhost:%HTTP3PORT:%HOSTIP https://localhost:%HTTP3PORT/%TESTNUMBER
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50<strip>
51^X-Forwarded-Proto:.*
52^Via:.*
53</strip>
54<protocol crlf="yes">
55GET https://localhost:%HTTP3PORT/%TESTNUMBER HTTP/1.1
56Host: localhost:%HTTP3PORT
57User-Agent: curl/%VERSION
58Accept: */*
59
60</protocol>
61<stdout crlf="yes">
62HTTP/3 200
63date: Tue, 09 Nov 2010 14:49:00 GMT
64last-modified: Tue, 13 Jun 2000 12:10:00 GMT
65etag: "21025-dc7-39462498"
66accept-ranges: bytes
67content-length: 6
68content-type: text/html
69funny-head: yesyes
70via: 1.1 nghttpx
71
72-foo-
73</stdout>
74<stripfile>
75s/^server: nghttpx.*\r?\n//
76</stripfile>
77</verify>
78</testcase>
79