File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1328
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: globbing
    7: --fail
    8: </keywords>
    9: </info>
   10: 
   11: <reply>
   12: <data>
   13: HTTP/1.1 404 OK
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Content-Length: 6
   16: Funny-head: yesyes
   17: 
   18: -noo-
   19: </data>
   20: <data1>
   21: HTTP/1.1 200 OK
   22: Date: Thu, 09 Nov 2010 14:49:00 GMT
   23: Content-Length: 6
   24: Connection: close
   25: Funny-head: yesyes
   26: 
   27: -yes-
   28: </data1>
   29: <datacheck>
   30: HTTP/1.1 200 OK
   31: Date: Thu, 09 Nov 2010 14:49:00 GMT
   32: Content-Length: 6
   33: Connection: close
   34: Funny-head: yesyes
   35: 
   36: -yes-
   37: </datacheck>
   38: </reply>
   39: 
   40: #
   41: # Client-side
   42: <client>
   43: <server>
   44: http
   45: </server>
   46:  <name>
   47: HTTP GET a globbed range with -f
   48:  </name>
   49:  <command>
   50: -f 'http://%HOSTIP:%HTTPPORT/[13280000-13280001]' -o log/#1
   51: </command>
   52: </client>
   53: 
   54: #
   55: # Verify data after the test has been "shot"
   56: <verify>
   57: <strip>
   58: ^User-Agent:.*
   59: </strip>
   60: <protocol>
   61: GET /13280000 HTTP/1.1
   62: Host: %HOSTIP:%HTTPPORT
   63: Accept: */*
   64: 
   65: GET /13280001 HTTP/1.1
   66: Host: %HOSTIP:%HTTPPORT
   67: Accept: */*
   68: 
   69: </protocol>
   70: </verify>
   71: </testcase>

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