Commit 2d16e1a7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

config file test

parent 2297bc47
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
-K - %HOSTIP:%HOSTPORT/that.site.com/17

tests/data/http17.txt

0 → 100644
+6 −0
Original line number Diff line number Diff line
MOOO /that.site.com/17 HTTP/1.0
User-Agent: agent007 license to drill
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

tests/data/name17.txt

0 → 100644
+1 −0
Original line number Diff line number Diff line
HTTP with config file on stdin

tests/data/reply17.txt

0 → 100644
+4 −0
Original line number Diff line number Diff line
HTTP/1.1 200 OK
Funny-head: yesyes

This is the proof it works

tests/data/stdin17.txt

0 → 100644
+11 −0
Original line number Diff line number Diff line
#
# Use a silly request without '--':
request MOOO
#
# Set the user-agent using a short-option:
# (NOTE: the agent string is stripped in the test program why this
# will never be compared in the end)
-A "agent007 license to drill\t"
#
# long option *with* '--':
--max-time 180