I
I
Ivan Ivanov2016-05-25 11:12:54
C++ / C#
Ivan Ivanov, 2016-05-25 11:12:54

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

1 answer(s)
#
#algooptimize #bottize, 2016-05-25
@user004

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 question

Ask a Question

731 491 924 answers to any question