File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test279
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: HTTP proxy Basic auth
    8: </keywords>
    9: </info>
   10: 
   11: # Server-side
   12: <reply>
   13: <data>
   14: HTTP/1.1 200 OK swsclose
   15: Date: Thu, 09 Nov 2010 14:49:00 GMT
   16: Content-Type: text/html
   17: Content-Length: 27
   18: 
   19: the content would go here
   20: </data>
   21: </reply>
   22: 
   23: # Client-side
   24: <client>
   25: <server>
   26: http
   27: </server>
   28:  <name>
   29: HTTP with proxy string including http:// and user only
   30:  </name>
   31:  <command>
   32: http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
   33: </command>
   34: <features>
   35: proxy
   36: </features>
   37: </client>
   38: 
   39: # Verify data after the test has been "shot"
   40: <verify>
   41: <strip>
   42: ^User-Agent:.*
   43: </strip>
   44: <protocol>
   45: GET http://we.want.that.site.com/279 HTTP/1.1
   46: Host: we.want.that.site.com
   47: Proxy-Authorization: Basic ZmFrZTo=
   48: Accept: */*
   49: Proxy-Connection: Keep-Alive
   50: 
   51: </protocol>
   52: </verify>
   53: </testcase>

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