mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Fixed some XML parsing problems.
This commit is contained in:
parent
fc1443dcfc
commit
15e56c3284
@ -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>
|
||||
|
@ -5,6 +5,7 @@ HTTP
|
||||
HTTP GET
|
||||
followlocation
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
|
@ -10,11 +10,11 @@ FAILURE
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Connection: close
|
||||
|
||||
<html>result</html>
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Connection: close
|
||||
|
||||
_data_result_data_
|
||||
</data>
|
||||
<postcmd>
|
||||
wait 10
|
||||
|
@ -10,11 +10,11 @@ timeout
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Connection: close
|
||||
|
||||
<html>result</html>
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Connection: close
|
||||
|
||||
_data_result_data_
|
||||
</data>
|
||||
<postcmd>
|
||||
wait 20
|
||||
|
Loading…
Reference in New Issue
Block a user