quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test170 (854B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP POST
      6 HTTP proxy
      7 HTTP proxy NTLM auth
      8 </keywords>
      9 </info>
     10 
     11 # Server-side
     12 <reply>
     13 </reply>
     14 
     15 # Client-side
     16 <client>
     17 <server>
     18 http
     19 </server>
     20 <features>
     21 Mime
     22 NTLM
     23 SSL
     24 !SSPI
     25 proxy
     26 </features>
     27 <name>
     28 HTTP POST with --proxy-ntlm and no SSL with no response
     29 </name>
     30 <command>
     31 http://a.galaxy.far.far.away/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
     32 </command>
     33 </client>
     34 
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <protocol>
     38 POST http://a.galaxy.far.far.away/%TESTNUMBER HTTP/1.1
     39 Host: a.galaxy.far.far.away
     40 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
     41 User-Agent: curl/%VERSION
     42 Accept: */*
     43 Proxy-Connection: Keep-Alive
     44 Content-Length: 0
     45 
     46 </protocol>
     47 # 52 is CURLE_GOT_NOTHING
     48 <errorcode>
     49 52
     50 </errorcode>
     51 </verify>
     52 </testcase>