移除 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)