cpprestsdk
cpprestsdk copied to clipboard
Client header spaces inconsistent
Example header generated by cpprest:
Host: 10.32.8.51
Content-Length:130
Content-Type:application/json
User-Agent:cpprestsdk/2.10.18
Authorization: Basic YWRtaW46cGFzcw==
Connection: Keep-Alive
For some header values, there is a space, for others, not.
Having no space is allowed by the RFCs, but is definitely not common practice. Some older webserver just don't support it. I suggest using spaces all the time for highest compatibility.