--config
# Server-side
HTTP/1.1 200 OK
Content-Length: 6
Content-Type: text/1
-foo-
# Client-side
--next
header = "a: a"
data = "curlrc read"
http
XDG_CONFIG_HOME=%PWD/%LOGDIR
HOME
CURL_HOME
Verify XDG_CONFIG_HOME use to find curlrc
# set the terminal wide to avoid word wrap in the message
COLUMNS=300
%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter
# Verify data after the test has been "shot"
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
a: a
Content-Length: 11
Content-Type: application/x-www-form-urlencoded
curlrc read
# On Windows curl may use a backslash, convert that for the comparison
s:\\:/:g
Note: Read config file from '%PWD/%LOGDIR/curlrc'