~ubuntu-branches/ubuntu/quantal/curl/quantal

« back to all changes in this revision

Viewing changes to tests/data/test26

  • 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 Mooo
 
5
Server: test-server/fake
 
6
Connection: close
 
7
 
 
8
*flopp*
 
9
</data>
 
10
</reply>
 
11
 
 
12
# Client-side
 
13
<client>
 
14
 <name>
 
15
specify more -o than URLs
 
16
 </name>
 
17
 <command>
 
18
http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
 
19
</command>
 
20
</test>
 
21
 
 
22
# Verify data after the test has been "shot"
 
23
<verify>
 
24
<strip>
 
25
^User-Agent: curl.*
 
26
</strip>
 
27
<protocol>
 
28
GET /want/26 HTTP/1.1
 
29
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
 
30
Host: 127.0.0.1:8999
 
31
Pragma: no-cache
 
32
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
 
33
 
 
34
</protocol>
 
35
</verify>