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

« back to all changes in this revision

Viewing changes to tests/data/test1214

  • 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
</keywords>
 
8
</info>
 
9
 
 
10
# Server-side
 
11
<reply>
 
12
<data>
 
13
HTTP/1.1 200 OK
 
14
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
15
Server: test-server/fake
 
16
Content-Type: text/html
 
17
Funny-head: yesyes
 
18
Content-Length: 22
 
19
 
 
20
the content goes here
 
21
</data>
 
22
</reply>
 
23
 
 
24
# Client-side
 
25
<client>
 
26
<server>
 
27
http
 
28
</server>
 
29
 <name>
 
30
HTTP with proxy and URL with ? and no slash separator
 
31
 </name>
 
32
# the thing here is that this sloppy form is accepted and we convert it
 
33
# for normal server use, and we need to make sure it gets converted to
 
34
# RFC style even for proxies
 
35
 <command>
 
36
-x %HOSTIP:%HTTPPORT http://we.want.that.site.com.1214?moo=foo
 
37
</command>
 
38
</client>
 
39
 
 
40
# Verify data after the test has been "shot"
 
41
<verify>
 
42
<strip>
 
43
^User-Agent:.*
 
44
</strip>
 
45
<protocol>
 
46
GET http://we.want.that.site.com.1214/?moo=foo HTTP/1.1
 
47
Host: we.want.that.site.com.1214
 
48
Accept: */*
 
49
Proxy-Connection: Keep-Alive
 
50
 
 
51
</protocol>
 
52
</verify>
 
53
</testcase>