xref: /curl/tests/data/test436 (revision f7cc9e91)
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="%LOGDIR/.config/curlrc">
24--next
25header = "a: a"
26data = "curlrc read"
27</file1>
28<server>
29http
30</server>
31<setenv>
32CURL_HOME=%PWD/%LOGDIR
33XDG_CONFIG_HOME=
34</setenv>
35<name>
36Find .curlrc in .config/curlrc via CURL_HOME
37</name>
38<command option="no-q">
39%HOSTIP:%HTTPPORT/%TESTNUMBER
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol nonewline="yes">
47POST /%TESTNUMBER HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49User-Agent: curl/%VERSION
50Accept: */*
51a: a
52Content-Length: 11
53Content-Type: application/x-www-form-urlencoded
54
55curlrc read
56</protocol>
57</verify>
58</testcase>
59