Exemples
Keep only a JSON response body
Entrée
HTTP/1.1 200 OK
Content-Type: application/json
{"ok":true,"version":"2.0"}Expected answer
{"ok":true,"version":"2.0"}{"ok":true,"version":"2.0"}Read a CRLF-framed plain-text response
The downloaded sample preserves CRLF line endings; the response body retains its final line ending.
Entrée
917d34673aebfcb103fb2dec.bin
52 bytes
TéléchargerExpected answer
ready
ready
Keep a blank paragraph inside the body
Entrée
HTTP/1.1 200 OK
Content-Type: text/plain
First paragraph.
Second paragraph.Expected answer
First paragraph.
Second paragraph.First paragraph. Second paragraph.
Extract an empty body from a 204 response
Entrée
HTTP/1.1 204 No Content
Cache-Control: no-store
Expected answer
Empty resultRecognize that chunk framing still needs decoding
This operation removes headers only. Use Dechunk HTTP Response for the remaining chunk framing.
Entrée
HTTP/1.1 200 OK
Transfer-Encoding: chunked
4
Wiki
0
Expected answer
4
Wiki
0
4 Wiki 0