Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Created Issue: http_client: How to get the redirected URL? [100]

$
0
0
I'm fetching a document that can contain relative URLs. Since the original request may be redirected, I need to know the URL actually used to fetch the resource to turn those relative URLs into absolute URLs.

I took a look in http_win7.cpp and http_win8.cpp, but I don't see where this is handled (I think the former would need to use WinHttpRequestOption_URL and the latter would need to do something with the data in the OnRedirect).

Also, there's a typo in the comment on line 230 of http_win7.cpp: "chanllenges"



Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>