Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

Correct way to send utf8 encoded request body via socket

$
0
0

Greetings!
There is a possibility to get request body, but only as binary. The request body contains utf8 symbols. I need to send the body to a side system via a socket. But the socket operates with strings. The question is how to convert a binary body to a string which can be send via a socket without loosing anything ?

Thanks in advance for your answers!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles