• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4--config
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 OK
13Content-Length: 6
14Content-Type: text/1
15
16-foo-
17</data>
18</reply>
19
20#
21# Client-side
22<client>
23<file1 name="log/.curlrc">
24--next
25header = "a: a"
26data = "curlrc read"
27</file1>
28<server>
29http
30</server>
31<setenv>
32XDG_CONFIG_HOME=%PWD/log
33</setenv>
34<name>
35Verify XDG_CONFIG_HOME use to find .curlrc
36</name>
37<command>
38%HOSTIP:%HTTPPORT/433
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol nonewline="yes">
46POST /433 HTTP/1.1
47Host: %HOSTIP:%HTTPPORT
48User-Agent: curl/%VERSION
49Accept: */*
50a: a
51Content-Length: 11
52Content-Type: application/x-www-form-urlencoded
53
54curlrc read
55</protocol>
56</verify>
57</testcase>
58