Debian Codegraph @

deps/curl/tests/data/test2078

raw
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 GSS-API
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK swsclose
14 Content-Length: 23
15
16 This IS the real page!
17 </data>
18 </reply>
19
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25 <features>
26 GSS-API
27 </features>
28 <name>
29 curl --negotiate should not send empty POST request only
30 </name>
31 <command>
32 http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value
33 </command>
34 </client>
35
36 # Verify data after the test has been "shot"
37 <verify>
38 <errorcode>
39 0
40 </errorcode>
41 <strip>
42 ^User-Agent:.*
43 </strip>
44 <protocol nonewline="yes">
45 POST /2078 HTTP/1.1
46 Host: 127.0.0.1:8990
47 Accept: */*
48 Content-Length: 10
49 Content-Type: application/x-www-form-urlencoded
50
51 name=value
52 </protocol>
53 </verify>
54 </testcase>