Answer the question
In order to leave comments, you need to log in
How to generate a valid http request in qt?
Wherever I send a request through QT, the first line of the request gets host, which is then duplicated below as a header. It always seemed to me that this should not be and the host is prescribed separately. Is it legal at all? Will this always work correctly? How to fix it?
Answer the question
In order to leave comments, you need to log in
RFCs :
Translated into Russian: yes, the absolute path (with the host) in the Request-URI is allowed. And the Host header is required anyway.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question