File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1596
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 replaced headers
    7: CURLOPT_TIMECONDITION
    8: If-Modified-Since
    9: </keywords>
   10: </info>
   11: 
   12: # Server-side
   13: <reply>
   14: <data nocheck="yes">
   15: HTTP/1.1 429 Too Many Requests
   16: Date: Thu, 11 Jul 2019 02:26:59 GMT
   17: Server: test-server/swsclose
   18: Retry-After: Thu, 11 Jul 2024 02:26:59 GMT
   19: 
   20: </data>
   21: </reply>
   22: # Client-side
   23: <client>
   24: <server>
   25: http
   26: </server>
   27: <name>
   28: HTTP Retry-After header parsing using a date
   29: </name>
   30: <tool>
   31: lib1596
   32: </tool>
   33: <command>
   34: http://%HOSTIP:%HTTPPORT/1596
   35: </command>
   36: </client>
   37: 
   38: <verify>
   39: <strip>
   40: ^User-Agent:.*
   41: </strip>
   42: <protocol>
   43: GET /1596 HTTP/1.1
   44: Host: %HOSTIP:%HTTPPORT
   45: Accept: */*
   46: 
   47: </protocol>
   48: <stdout>
   49: Retry-After: 172066
   50: </stdout>
   51: </verify>
   52: </testcase>

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