mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Fixed some XML parsing problems.
This commit is contained in:
parent
fc1443dcfc
commit
15e56c3284
@ -1,7 +1,8 @@
|
|||||||
<testcase>
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
# This particular response is an exact excerpt from an actual Apache
|
# This particular response is an exact excerpt from an actual Apache
|
||||||
# server when asked for a 0-10,12-15 range.
|
# server when asked for a 0-10,12-15 range (except gt/lt changed to {}
|
||||||
|
# to avoid XML escaping problems).
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
HTTP/1.1 206 Partial Content swsclose
|
HTTP/1.1 206 Partial Content swsclose
|
||||||
@ -17,15 +18,15 @@ Content-Type: multipart/byteranges; boundary=408a326132c
|
|||||||
Content-type: text/html
|
Content-type: text/html
|
||||||
Content-range: bytes 0-10/3781
|
Content-range: bytes 0-10/3781
|
||||||
|
|
||||||
<html>
|
{html}
|
||||||
<hea
|
{hea
|
||||||
|
|
||||||
--408a326132c
|
--408a326132c
|
||||||
Content-type: text/html
|
Content-type: text/html
|
||||||
Content-range: bytes 12-15/3781
|
Content-range: bytes 12-15/3781
|
||||||
|
|
||||||
>
|
}
|
||||||
<t
|
{t
|
||||||
|
|
||||||
--408a326132c--
|
--408a326132c--
|
||||||
</data>
|
</data>
|
||||||
|
@ -5,6 +5,7 @@ HTTP
|
|||||||
HTTP GET
|
HTTP GET
|
||||||
followlocation
|
followlocation
|
||||||
</keywords>
|
</keywords>
|
||||||
|
</info>
|
||||||
|
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
|
@ -10,11 +10,11 @@ FAILURE
|
|||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
HTTP/1.1 200 OK swsclose
|
HTTP/1.1 200 OK swsclose
|
||||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||||
Connection: close
|
Connection: close
|
||||||
|
|
||||||
<html>result</html>
|
_data_result_data_
|
||||||
</data>
|
</data>
|
||||||
<postcmd>
|
<postcmd>
|
||||||
wait 10
|
wait 10
|
||||||
|
@ -10,11 +10,11 @@ timeout
|
|||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||||
Connection: close
|
Connection: close
|
||||||
|
|
||||||
<html>result</html>
|
_data_result_data_
|
||||||
</data>
|
</data>
|
||||||
<postcmd>
|
<postcmd>
|
||||||
wait 20
|
wait 20
|
||||||
|
Loading…
Reference in New Issue
Block a user