~ubuntu-branches/ubuntu/warty/curl/warty-security

« back to all changes in this revision

Viewing changes to tests/data/test14

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2002-03-12 19:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020312190621-iqx7k9cipo5d0ifr
Tags: upstream-7.9.5
ImportĀ upstreamĀ versionĀ 7.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
<data>
 
4
HTTP/1.1 200 OK
 
5
Server: thebest/1.0
 
6
Connection: close
 
7
 
 
8
</data>
 
9
</reply>
 
10
 
 
11
# Client-side
 
12
<client>
 
13
 <name>
 
14
HTTP HEAD with Connection: close
 
15
 </name>
 
16
 <command>
 
17
http://%HOSTIP:%HOSTPORT/want/14 -i --head
 
18
</command>
 
19
</test>
 
20
 
 
21
# Verify data after the test has been "shot"
 
22
<verify>
 
23
<strip>
 
24
^User-Agent:.*
 
25
</strip>
 
26
<protocol>
 
27
HEAD /want/14 HTTP/1.1
 
28
User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4
 
29
Host: 127.0.0.1:8999
 
30
Pragma: no-cache
 
31
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
 
32
 
 
33
</protocol>
 
34
</verify>