Answer the question
In order to leave comments, you need to log in
How to get response headers?
Good day, gentlemen.
I work through the xNet library. When sending a get request, a redirect to another resource should occur, but the program throws an exception that an empty response was received from the server. The most interesting thing is that in the sniffer it shows in the Response Headers in the Location field the very URL to which it should be redirected.
AllowAutoRedirect is enabled.
How can I read the Response Headers and extract the Location value from there?
Answer the question
In order to leave comments, you need to log in
Add the code and dump \r\n with your hands, it's easier to watch from a mobile phone like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question