Annotation of embedaddon/curl/tests/data/test1908, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: CURLINFO_EFFECTIVE_URL
! 5: </keywords>
! 6: </info>
! 7:
! 8: # Server-side
! 9: <reply>
! 10: <data nocheck="yes">
! 11: HTTP/1.1 200 OK
! 12: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 13: Server: test-server/fake
! 14: Content-Type: text/html
! 15: Funny-head: yesyes swsclose
! 16: Content-Length: 0
! 17: alt-svc: h2="3dbbdetxoyw4nsp6c3cc456oj2ays6s43ezxzsfxxri3h5xqd.example:443"; ma=315360000; persist=1
! 18:
! 19: </data>
! 20: </reply>
! 21:
! 22: # Client-side
! 23: <client>
! 24: <server>
! 25: http
! 26: </server>
! 27:
! 28: # require debug so that alt-svc can work over plain old HTTP
! 29: <features>
! 30: alt-svc
! 31: debug
! 32: </features>
! 33: <name>
! 34: alt-svc cache save after resetting the handle
! 35: </name>
! 36: <setenv>
! 37: # make debug-curl accept Alt-Svc over plain HTTP
! 38: CURL_ALTSVC_HTTP="yeah"
! 39: </setenv>
! 40: <tool>
! 41: lib1908
! 42: </tool>
! 43:
! 44: <command>
! 45: %HOSTIP:%HTTPPORT/1908
! 46: </command>
! 47: </client>
! 48:
! 49: # Verify data after the test has been "shot"
! 50: <verify>
! 51: <strip>
! 52: ^User-Agent:.*
! 53: </strip>
! 54: <protocol>
! 55: GET /1908 HTTP/1.1
! 56: Host: %HOSTIP:%HTTPPORT
! 57: Accept: */*
! 58:
! 59: </protocol>
! 60: <stripfile>
! 61: # strip out the (dynamic) expire date from the file so that the rest
! 62: # matches
! 63: s/\"([^\"]*)\"/TIMESTAMP/
! 64: </stripfile>
! 65: <file name="log/altsvc-1908">
! 66: # Your alt-svc cache. https://curl.haxx.se/docs/alt-svc.html
! 67: # This file was generated by libcurl! Edit at your own risk.
! 68: h1 127.0.0.1 %HTTPPORT h2 3dbbdetxoyw4nsp6c3cc456oj2ays6s43ezxzsfxxri3h5xqd.example 443 TIMESTAMP 1 0
! 69: </file>
! 70: </verify>
! 71: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>