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