mirror of
https://github.com/curl/curl.git
synced 2026-06-01 19:44:16 +03:00
tests/data: avoid tag markup in comments
To avoid confusing `xmllint`, and reducing the number of files failing `xmllint --format` from 169 to 144. Closes #19491
This commit is contained in:
parent
2c7e1792a0
commit
a9ec2a676c
24 changed files with 46 additions and 46 deletions
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A TEXT/BINARY/PING/PONG/CLOSE message with payload
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -66,7 +66,7 @@ close [7] %hex[%03%e8]hex%close
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with the reserved opcode 0x3
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with the reserved opcode 0xB
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with the RSV1 bit set
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with the RSV2 bit set
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with the RSV3 bit set
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An empty frame with masking
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# Frames with sizes around special cases of the frame encoding
|
||||
# see https://datatracker.ietf.org/doc/html/rfc6455#section-5.2
|
||||
# - 0: empty frame
|
||||
|
|
@ -74,7 +74,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# An unsolicited PONG with and without payload
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -63,7 +63,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A PING/PONG/CLOSE message without payload
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -64,7 +64,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A PING/PONG/CLOSE with 125 bytes payload each
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -64,7 +64,7 @@ close [125] %hex[%03%e8]hex%%repeat[123 x _]%
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A 126 byte long PING
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A 126 byte long PONG
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A 126 byte long CLOSE
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A fragmented PING
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A fragmented PONG
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A fragmented CLOSE
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -62,7 +62,7 @@ Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# Fragmented TEXT/BINARY messages, each with 2/3 fragments
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -71,7 +71,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# 1st a message with an empty fragment at the beginning
|
||||
# 2nd a message with an empty fragment in the middle
|
||||
# 3rd a message with an empty fragment at the end
|
||||
|
|
@ -76,7 +76,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# A TEXT/BINARY message fragmented into two frames each, with pongs in the middle
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
@ -67,7 +67,7 @@ close [0]
|
|||
0
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# First a valid BINARY frame
|
||||
# Second a fragmented message with the first frame missing
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
|
|
@ -63,7 +63,7 @@ bin fin [1] b
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CURL_WS_FORCE_ZERO_MASK=1
|
|||
upgrade
|
||||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# Full list of frames: see 'verify.stdout' below
|
||||
# First a fragmented TEXT message with the last frame missing
|
||||
# Second a valid BINARY frame
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
|
|
@ -64,7 +64,7 @@ txt --- [2] t2
|
|||
56
|
||||
</errorcode>
|
||||
|
||||
# Strip HTTP header from <protocol>
|
||||
# Strip HTTP header from 'protocol'
|
||||
<strip>
|
||||
^GET /.*
|
||||
^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue