HTTP Redirect With HTTPS Rejected

The problem is that any page that that responds with 301.302,303 or
307 and redirects to an "https" is rejected by the library.
The code that does the rejection is in "Network.Browser" on line 865.
It only accepts "http:". Why was this design decision made? It makes
it impossible for me to use this library for my project.
-deech
On Tue, Jul 20, 2010 at 3:30 PM, aditya siram
Hi all, I am trying to simply download a web page using the HTTP library. It works fine with "http://www.google.com" but a redirecting page like "http://gmail.com" creates an error. Code is at http://hpaste.org/fastcgi/hpaste.fcgi/view?id=27864#a27864.
Thanks , -deech

You should be CCing the author and creator (different people) of the
library. Not everyone in the Haskell universe is subscribed to -cafe
or any other ML.
Cheers,
Thomas
On Tue, Jul 20, 2010 at 1:49 PM, aditya siram
The problem is that any page that that responds with 301.302,303 or 307 and redirects to an "https" is rejected by the library.
The code that does the rejection is in "Network.Browser" on line 865. It only accepts "http:". Why was this design decision made? It makes it impossible for me to use this library for my project.
-deech
On Tue, Jul 20, 2010 at 3:30 PM, aditya siram
wrote: Hi all, I am trying to simply download a web page using the HTTP library. It works fine with "http://www.google.com" but a redirecting page like "http://gmail.com" creates an error. Code is at http://hpaste.org/fastcgi/hpaste.fcgi/view?id=27864#a27864.
Thanks , -deech
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Sorry, I ment to say CC the maintainer and the author if that wasn't obvious.
Thomas
On Tue, Jul 20, 2010 at 2:00 PM, Thomas DuBuisson
You should be CCing the author and creator (different people) of the library. Not everyone in the Haskell universe is subscribed to -cafe or any other ML.
Cheers, Thomas
On Tue, Jul 20, 2010 at 1:49 PM, aditya siram
wrote: The problem is that any page that that responds with 301.302,303 or 307 and redirects to an "https" is rejected by the library.
The code that does the rejection is in "Network.Browser" on line 865. It only accepts "http:". Why was this design decision made? It makes it impossible for me to use this library for my project.
-deech
On Tue, Jul 20, 2010 at 3:30 PM, aditya siram
wrote: Hi all, I am trying to simply download a web page using the HTTP library. It works fine with "http://www.google.com" but a redirecting page like "http://gmail.com" creates an error. Code is at http://hpaste.org/fastcgi/hpaste.fcgi/view?id=27864#a27864.
Thanks , -deech
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
aditya siram
-
Thomas DuBuisson