Remover cabeçalhos HTTP

Separa cabeçalhos HTTP na primeira linha vazia e retorna o corpo.

Entrada: TextoResultado: Texto

Entrada de texto

Execute para ver o resultado

Exemplos

Keep only a JSON response body

Entrada

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.

Entrada

917d34673aebfcb103fb2dec.bin

52 bytes

Baixar

Expected answer

ready
Keep a blank paragraph inside the body

Entrada

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

Entrada

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.

Entrada

HTTP/1.1 200 OK
Transfer-Encoding: chunked

4
Wiki
0

Expected answer

4
Wiki
0

Ferramentas relacionadas

Redes

Referência da operação

Ver a documentação técnica original (English)