File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1240
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: globbing
    5: HTTP
    6: </keywords>
    7: </info>
    8: # Server-side
    9: <reply>
   10: <data>
   11: HTTP/1.1 200 OK
   12: Content-Length: 6
   13: Connection: close
   14: 
   15: -foo-
   16: </data>
   17: </reply>
   18: 
   19: # Client-side
   20: <client>
   21: <server>
   22: http
   23: </server>
   24:  <name>
   25: glob [0-1] with stuff after range (7.33.0 regression)
   26:  </name>
   27:  <command>
   28: "%HOSTIP:%HTTPPORT/0[0-1]/1240"
   29: </command>
   30: </client>
   31: 
   32: # Verify data after the test has been "shot"
   33: <verify>
   34: <strip>
   35: ^User-Agent:.*
   36: </strip>
   37: <protocol>
   38: GET /00/1240 HTTP/1.1
   39: Host: %HOSTIP:%HTTPPORT
   40: Accept: */*
   41: 
   42: GET /01/1240 HTTP/1.1
   43: Host: %HOSTIP:%HTTPPORT
   44: Accept: */*
   45: 
   46: </protocol>
   47: </verify>
   48: </testcase>

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