1
0
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:
Dan Fandrich 2008-02-09 02:37:31 +00:00
parent fc1443dcfc
commit 15e56c3284
4 changed files with 17 additions and 15 deletions

View File

@ -1,7 +1,8 @@
<testcase>
# Server-side
# 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>
<data>
HTTP/1.1 206 Partial Content swsclose
@ -17,15 +18,15 @@ Content-Type: multipart/byteranges; boundary=408a326132c
Content-type: text/html
Content-range: bytes 0-10/3781
<html>
<hea
{html}
{hea
--408a326132c
Content-type: text/html
Content-range: bytes 12-15/3781
>
<t
}
{t
--408a326132c--
</data>

View File

@ -5,6 +5,7 @@ HTTP
HTTP GET
followlocation
</keywords>
</info>
# Server-side
<reply>

View File

@ -14,7 +14,7 @@ HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
<html>result</html>
_data_result_data_
</data>
<postcmd>
wait 10

View File

@ -14,7 +14,7 @@ HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
<html>result</html>
_data_result_data_
</data>
<postcmd>
wait 20