Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-28 Thread T Lee Davidson
On 04/27/2017 03:01 AM, Benoît Minisini wrote: > Le 25/04/2017 à 19:12, T Lee Davidson a écrit : >> 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

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-28 Thread T Lee Davidson
On 04/27/2017 03:01 AM, Benoît Minisini wrote: > Le 25/04/2017 à 19:12, T Lee Davidson a écrit : >> 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

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-27 Thread Benoît Minisini
Le 25/04/2017 à 19:12, T Lee Davidson a écrit : > 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

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread PICCORO McKAY Lenz
hi lee, in the example, when i debug , the header does not return the required contents to made the location! i mean i donot test u'r code, but before send that mail i tested and does not work.. with the specific url.. due that the problem relies on libcurl implementatio of httpclient module in

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread T Lee Davidson
On 04/25/2017 01:36 PM, Benoît Minisini wrote: > Le 25/04/2017 à 19:12, T Lee Davidson a écrit : >> 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

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread Benoît Minisini
Le 25/04/2017 à 19:12, T Lee Davidson a écrit : > 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

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread PICCORO McKAY Lenz
i forgot to mention, you have received a X-Frame-Options: DENY , that the other reason of the problem.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-04-25 13:32 GMT-04:00 PICCORO McKAY Lenz : > its a bug..and also not: due the redirection.. in low

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread PICCORO McKAY Lenz
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 : > On Tue, 25 Apr 2017, T Lee Davidson wrote: > > I have run

Re: [Gambas-user] HttpClient not exposing redirect response codes

2017-04-25 Thread Tobias Boege
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