xref: /curl/tests/data/test1322 (revision b27ad8e1)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6--resolve
7trailing dot
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15HTTP/1.1 200 OK
16Date: Tue, 09 Nov 2010 14:49:00 GMT
17Server: test-server/fake
18Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
19ETag: "21025-dc7-39462498"
20Accept-Ranges: bytes
21Content-Length: 6
22Connection: close
23Content-Type: text/html
24Funny-head: yesyes
25
26-foo-
27</data>
28</reply>
29
30#
31# Client-side
32<client>
33<server>
34http
35</server>
36<name>
37HTTP with --resolve and hostname with trailing dot
38</name>
39<command>
40--ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/%TESTNUMBER
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<protocol>
48GET /%TESTNUMBER HTTP/1.1
49Host: example.com.:%HTTPPORT
50User-Agent: curl/%VERSION
51Accept: */*
52
53</protocol>
54</verify>
55</testcase>
56