移除 HTTP 標頭

在首个空行處分離 HTTP 头部,輸出後面的正文。

輸入: 文本結果: 文本

文本輸入

執行後查看結果

範例

Keep only a JSON response body

輸入

HTTP/1.1 200 OK
Content-Type: application/json

{"ok":true,"version":"2.0"}

Expected answer

{"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.

輸入

917d34673aebfcb103fb2dec.bin

52 bytes

下載

Expected answer

ready
Keep a blank paragraph inside the body

輸入

HTTP/1.1 200 OK
Content-Type: text/plain

First paragraph.

Second paragraph.

Expected answer

First paragraph.

Second paragraph.
Extract an empty body from a 204 response

輸入

HTTP/1.1 204 No Content
Cache-Control: no-store

Expected answer

Empty result
Recognize that chunk framing still needs decoding

This operation removes headers only. Use Dechunk HTTP Response for the remaining chunk framing.

輸入

HTTP/1.1 200 OK
Transfer-Encoding: chunked

4
Wiki
0

Expected answer

4
Wiki
0

相关工具

網路

操作参考

查看原始技术文檔 (English)