mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
add curl 7.16.0 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3744 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
a97672afa9
commit
5626cdd351
896 files changed
+211049
-3
No files matched your search
@@ -0,0 +1,59 @@
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
Resume
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=1>
|
||||
HTTP/1.0 200 Mooo
|
||||
Date: Mon, 13 Nov 2000 13:41:09 GMT
|
||||
Server: myown/1.0
|
||||
Connection: close
|
||||
|
||||
todelooooo lalalala yada yada, we know nothing about ranges ;-)
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<name>
|
||||
HTTP resume request without server supporting it
|
||||
</name>
|
||||
<command option="no-output">
|
||||
http://%HOSTIP:%HTTPPORT/want/38 -C - -i -o log/fewl.txt
|
||||
</command>
|
||||
<file name="log/fewl.txt">
|
||||
This text is here to simulate a partly downloaded file to resume
|
||||
download on.
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
33
|
||||
</errorcode>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /want/38 HTTP/1.1
|
||||
Range: bytes=78-
|
||||
Host: 127.0.0.1:%HTTPPORT
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
|
||||
# the download target file must remain untouched
|
||||
<file name="log/fewl.txt">
|
||||
This text is here to simulate a partly downloaded file to resume
|
||||
download on.
|
||||
</file>
|
||||
</verify>
|
||||
Reference in new issue
Block a user