File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1528
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: HTTP
    5: HTTP GET
    6: HTTP CONNECT
    7: HTTP proxy
    8: proxytunnel
    9: </keywords>
   10: </info>
   11: 
   12: # Server-side
   13: <reply>
   14: <connect>
   15: HTTP/1.1 200 OK
   16: We-are: good
   17: 
   18: </connect>
   19: <data>
   20: HTTP/1.1 200 OK swsclose
   21: Date: Thu, 09 Nov 2010 14:49:00 GMT
   22: Server: test-server/fake
   23: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
   24: ETag: "21025-dc7-39462498"
   25: Content-Length: 5
   26: 
   27: stop
   28: </data>
   29: 
   30: </reply>
   31: # Client-side
   32: <client>
   33: <server>
   34: http
   35: http-proxy
   36: </server>
   37: <tool>
   38: lib1528
   39: </tool>
   40:  <name>
   41: Separately specified proxy/server headers sent in a proxy GET
   42:  </name>
   43:  <command>
   44:  http://the.old.moo:%HTTPPORT/1528 %HOSTIP:%PROXYPORT
   45: </command>
   46: <features>
   47: proxy
   48: </features>
   49: </client>
   50: 
   51: # Verify data after the test has been "shot"
   52: <verify>
   53: <proxy>
   54: GET http://the.old.moo:%HTTPPORT/1528 HTTP/1.1
   55: Host: the.old.moo:%HTTPPORT
   56: Accept: */*
   57: Proxy-Connection: Keep-Alive
   58: User-Agent: Http Agent
   59: Proxy-User-Agent: Http Agent2
   60: 
   61: </proxy>
   62: </verify>
   63: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>