config file test
This commit is contained in:
Родитель
2297bc4791
Коммит
2d16e1a777
|
@ -0,0 +1 @@
|
|||
-K - %HOSTIP:%HOSTPORT/that.site.com/17
|
|
@ -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, */*
|
||||
|
|
@ -0,0 +1 @@
|
|||
HTTP with config file on stdin
|
|
@ -0,0 +1,4 @@
|
|||
HTTP/1.1 200 OK
|
||||
Funny-head: yesyes
|
||||
|
||||
This is the proof it works
|
|
@ -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
|
Загрузка…
Ссылка в новой задаче