mirror of
https://github.com/curl/curl.git
synced 2026-06-02 07:14:15 +03:00
- drop more uses of the word "just". (not enforced here) - drop some uses of the "will" word. - "then" -> "than". - tests/http/testenv/curl.py: fix copy-paste typo in error message. - pytest: replace `shutdownh` with `shutdown` in test names. Spotted by GitHub Code Quality. - comment typos. - whitespace and newlines fixes. Closes #21830
57 lines
977 B
XML
57 lines
977 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data nocheck="yes">
|
|
HTTP/1.1 200 funky chunky!%CR
|
|
Server: fakeit/0.9 fakeitbad/1.0%CR
|
|
Transfer-Encoding: chunked%CR
|
|
Trailer: chunky-trailer%CR
|
|
Connection: mooo%CR
|
|
ETag: "asdf"%CR
|
|
%CR
|
|
40
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
30
|
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
21;heresatest=moooo
|
|
cccccccccccccccccccccccccccccccc
|
|
|
|
0
|
|
chunky-trailer: header data
|
|
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
A non existing file with --etag-compare is a blank
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol crlf="headers">
|
|
GET /%TESTNUMBER HTTP/1.1
|
|
Host: %HOSTIP:%HTTPPORT
|
|
User-Agent: curl/%VERSION
|
|
Accept: */*
|
|
If-None-Match: ""
|
|
|
|
</protocol>
|
|
</verify>
|
|
|
|
</testcase>
|