File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1150
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 proxy
    7: </keywords>
    8: </info>
    9: # Server-side
   10: <reply>
   11: 
   12: # this is returned when we get a GET!
   13: <data>
   14: HTTP/1.1 200 OK
   15: Date: Thu, 09 Nov 2010 14:49:00 GMT
   16: Content-Length: 7
   17: Content-Type: text/html
   18: Funny-head: yesyes
   19: 
   20: daniel
   21: </data>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: http
   28: </server>
   29:  <name>
   30: HTTP proxy with URLs using different ports
   31:  </name>
   32:  <command>
   33: --proxy http://%HOSTIP:%HTTPPORT http://test.remote.example.com.1150:150/path http://test.remote.example.com.1150:1234/path/
   34: </command>
   35: <features>
   36: proxy
   37: </features>
   38: </client>
   39: 
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <strip>
   43: ^User-Agent: curl/.*
   44: </strip>
   45: <protocol>
   46: GET http://test.remote.example.com.1150:150/path HTTP/1.1
   47: Host: test.remote.example.com.1150:150
   48: Accept: */*
   49: Proxy-Connection: Keep-Alive
   50: 
   51: GET http://test.remote.example.com.1150:1234/path/ HTTP/1.1
   52: Host: test.remote.example.com.1150:1234
   53: Accept: */*
   54: Proxy-Connection: Keep-Alive
   55: 
   56: </protocol>
   57: </verify>
   58: </testcase>

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