File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1216
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, 6 months 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: cookies
    8: </keywords>
    9: </info>
   10: 
   11: # Server-side
   12: <reply>
   13: <data>
   14: HTTP/1.1 200 OK
   15: Server: Microsoft-IIS/4.0
   16: Date: Tue, 25 Sep 2001 19:37:44 GMT
   17: Content-Type: text/html
   18: Connection: close
   19: Content-Length: 21
   20: 
   21: This server says moo
   22: </data>
   23: </reply>
   24: 
   25: # Client-side
   26: <client>
   27: <server>
   28: http
   29: </server>
   30:  <name>
   31: HTTP cookie domains tailmatching the host name
   32:  </name>
   33:  <command>
   34: http://example.fake/c/1216 http://bexample.fake/c/1216 -b log/injar1216 -x %HOSTIP:%HTTPPORT
   35: </command>
   36: <file name="log/injar1216">
   37: example.fake	FALSE	/a	FALSE	2139150993	mooo	indeed
   38: example.fake	FALSE	/b	FALSE	0		moo1	indeed
   39: example.fake	FALSE	/c	FALSE	2139150993	moo2	indeed
   40: example.fake	TRUE	/c	FALSE	2139150993	moo3	indeed
   41: </file>
   42: <features>
   43: proxy
   44: </features>
   45: </client>
   46: 
   47: # Verify data after the test has been "shot"
   48: <verify>
   49: <strip>
   50: ^User-Agent:.*
   51: </strip>
   52: <protocol>
   53: GET http://example.fake/c/1216 HTTP/1.1
   54: Host: example.fake
   55: Accept: */*
   56: Proxy-Connection: Keep-Alive
   57: Cookie: moo3=indeed; moo2=indeed
   58: 
   59: GET http://bexample.fake/c/1216 HTTP/1.1
   60: Host: bexample.fake
   61: Accept: */*
   62: Proxy-Connection: Keep-Alive
   63: 
   64: </protocol>
   65: </verify>
   66: </testcase>

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