File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1800
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/2
    6: </keywords>
    7: </info>
    8: 
    9: # Server-side
   10: <reply>
   11: <data>
   12: HTTP/1.1 200 Ignored!
   13: Date: Thu, 09 Nov 2010 14:49:00 GMT
   14: Server: test-server/fake
   15: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
   16: Content-Length: 6
   17: Connection: close
   18: Content-Type: text/html
   19: 
   20: -foo-
   21: </data>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: http
   28: </server>
   29: <features>
   30: http/2
   31: </features>
   32:  <name>
   33: HTTP/2 upgrade refused
   34:  </name>
   35:  <command>
   36: http://%HOSTIP:%HTTPPORT/1800 --http2
   37: </command>
   38: 
   39: </client>
   40: 
   41: <verify>
   42: <strip>
   43: ^User-Agent:.*
   44: </strip>
   45: <protocol>
   46: GET /1800 HTTP/1.1
   47: Host: %HOSTIP:%HTTPPORT
   48: Accept: */*
   49: Connection: Upgrade, HTTP2-Settings
   50: Upgrade: %H2CVER
   51: HTTP2-Settings: AAMAAABkAAQCAAAAAAIAAAAA
   52: 
   53: </protocol>
   54: </verify>
   55: </testcase>

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