Annotation of embedaddon/curl/tests/data/test2047, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: HTTP proxy
                      7: IDN
                      8: followlocation
                      9: --write-out
                     10: </keywords>
                     11: </info>
                     12: 
                     13: #
                     14: # Server-side
                     15: <reply>
                     16: <data nocheck="yes">
                     17: HTTP/1.1 302 OK swsbounce
                     18: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     19: Content-Length: 9
                     20: Content-Type: text/plain
                     21: Location: ./20470001
                     22: 
                     23: redirect
                     24: </data>
                     25: <data1 nocheck="yes">
                     26: HTTP/1.1 200 OK
                     27: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     28: Content-Length: 3
                     29: Content-Type: text/plain; charset=us-ascii
                     30: 
                     31: OK
                     32: </data1>
                     33: </reply>
                     34: 
                     35: #
                     36: # Client-side
                     37: <client>
                     38: <server>
                     39: http
                     40: </server>
                     41: <features>
                     42: idn
                     43: </features>
                     44: <setenv>
                     45: LC_ALL=en_US.UTF-8
                     46: LC_CTYPE=en_US.UTF-8
                     47: </setenv>
                     48: <precheck>
                     49: perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
                     50: </precheck>
                     51:  <name>
                     52: Connection re-use with IDN host name over HTTP proxy
                     53:  </name>
                     54: 
                     55:  <command>
                     56: http://åäö.se/2047 -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
                     57: </command>
                     58: </client>
                     59: 
                     60: #
                     61: # Verify data after the test has been "shot"
                     62: <verify>
                     63: <strip>
                     64: ^User-Agent:.*
                     65: </strip>
                     66: <protocol>
                     67: GET http://xn--4cab6c.se/2047 HTTP/1.1
                     68: Host: xn--4cab6c.se
                     69: Accept: */*
                     70: Proxy-Connection: Keep-Alive
                     71: 
                     72: GET http://xn--4cab6c.se/20470001 HTTP/1.1
                     73: Host: xn--4cab6c.se
                     74: Accept: */*
                     75: Proxy-Connection: Keep-Alive
                     76: 
                     77: </protocol>
                     78: 
                     79: <stdout>
                     80: HTTP/1.1 302 OK swsbounce
                     81: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     82: Content-Length: 9
                     83: Content-Type: text/plain
                     84: Location: ./20470001
                     85: 
                     86: HTTP/1.1 200 OK
                     87: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     88: Content-Length: 3
                     89: Content-Type: text/plain; charset=us-ascii
                     90: 
                     91: OK
                     92: 1
                     93: 1
                     94: 3
                     95: http://åäö.se/20470001
                     96: text/plain; charset=us-ascii
                     97: 200
                     98: </stdout>
                     99: 
                    100: </verify>
                    101: </testcase>

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