~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to tests/data/test1218

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP GET
 
6
HTTP proxy
 
7
cookies
 
8
</keywords>
 
9
</info>
 
10
 
 
11
# This test is very similar to 1216, only that it sets the cookies from the
 
12
# first site instead of reading from a file
 
13
<reply>
 
14
<data>
 
15
HTTP/1.1 200 OK
 
16
Date: Tue, 25 Sep 2001 19:37:44 GMT
 
17
Set-Cookie: domain=.example.fake; bug=fixed;
 
18
Content-Length: 21
 
19
 
 
20
This server says moo
 
21
</data>
 
22
</reply>
 
23
 
 
24
# Client-side
 
25
<client>
 
26
<server>
 
27
http
 
28
</server>
 
29
 <name>
 
30
HTTP cookies and domains with same prefix
 
31
 </name>
 
32
 <command>
 
33
http://example.fake/c/1218 http://example.fake/c/1218 http://bexample.fake/c/1218 -b nonexisting -x %HOSTIP:%HTTPPORT
 
34
</command>
 
35
</client>
 
36
 
 
37
# Verify data after the test has been "shot"
 
38
<verify>
 
39
<strip>
 
40
^User-Agent:.*
 
41
</strip>
 
42
<protocol>
 
43
GET http://example.fake/c/1218 HTTP/1.1
 
44
Host: example.fake
 
45
Accept: */*
 
46
Proxy-Connection: Keep-Alive
 
47
 
 
48
GET http://example.fake/c/1218 HTTP/1.1
 
49
Host: example.fake
 
50
Accept: */*
 
51
Proxy-Connection: Keep-Alive
 
52
Cookie: bug=fixed
 
53
 
 
54
GET http://bexample.fake/c/1218 HTTP/1.1
 
55
Host: bexample.fake
 
56
Accept: */*
 
57
Proxy-Connection: Keep-Alive
 
58
 
 
59
</protocol>
 
60
</verify>
 
61
</testcase>