Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » HttpRequest : problem with multiple redirections ?
Re: HttpRequest : problem with multiple redirections ? [message #43470 is a reply to message #43460] Fri, 08 August 2014 15:02 Go to previous messageGo to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi Mirek,

Thanks for your reply. The "bad" content is not so bad, it seems to be another similar (outdated ?) page about the same book. The problem is that it's not organized the same way, so I don't retrieve the data I need, or I should parse it a different way.

I will try tracing the requests and see what can be done.

What is surprising is that I get (sometimes) this bad content only when I get directly the URL. The first time I look for a book, I make a search on the site, obtain a list of books, select the right one and follow the link. This link is the URL that I store and use next times, but curiously, I get always the right page when I first search the book rather than using the stored URL!

I just wanted to have other's opinion about this : anyway, I can workaround the problem either parsing the "bad" content when I get it, or doing the search of the book first rather than use the direct url. I'll let know if I find the reason of this bad content.

Thanks for your advices.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FIX FindBest in Algo.h
Next Topic: HttpClient -> ssl
Goto Forum:
  


Current Time: Sat May 11 18:40:21 CEST 2024

Total time taken to generate the page: 0.02156 seconds