its a bug..and also not: due the redirection.. in low level must handle by oursleft.. i mean "moved" where?
Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-04-25 13:26 GMT-04:00 Tobias Boege <tabo...@gmail.com>: > On Tue, 25 Apr 2017, T Lee Davidson wrote: > > I have run into a couple of sites that are responding with 301 (Moved > > Permanently) and 302 (Moved Temporarily) codes. However, HttpClient.Code > > yields "0" for both of those sites/codes (and HttpClient.Reason is > empty). > > 200 & 404 codes are reported successfully. > > > > Have I missed something in the properties that is preventing proper > disclosure of redirect response codes? > > > > Or is this a bug? > > > > (Project attached.) > > > > I stumbled upon this too one time. Apparently my solution was to scan > HttpClient.Headers for the presence of a "Location: " header. > > So what I'm saying is, I only have a workaround, no explanation. I think > it's a bug. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user