HTTP Chunked transfer encoding: How do you send "\ r \ n"?

Let's say that the body that I am trying to send through encoded encoding includes "\ r \ n", how can I avoid interpreting as a fragment of a piece?

eg. "Your whole base belongs to us"

http://en.wikipedia.org/wiki/Chunked_transfer_encoding

+5
source share
2 answers

"\ r \ n" is not really a fragment delimiter. The block size determines the number of bytes received by this data. Then the client should read the "\ r \ n" embedded in your message, just fine.

+15
source

. . , . ( , , ), , , , .

+5

All Articles