mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
config file test
This commit is contained in:
parent
2297bc4791
commit
2d16e1a777
1
tests/data/command17.txt
Normal file
1
tests/data/command17.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
-K - %HOSTIP:%HOSTPORT/that.site.com/17
|
6
tests/data/http17.txt
Normal file
6
tests/data/http17.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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, */*
|
||||||
|
|
1
tests/data/name17.txt
Normal file
1
tests/data/name17.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
HTTP with config file on stdin
|
4
tests/data/reply17.txt
Normal file
4
tests/data/reply17.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Funny-head: yesyes
|
||||||
|
|
||||||
|
This is the proof it works
|
11
tests/data/stdin17.txt
Normal file
11
tests/data/stdin17.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user