[Haskell-cafe] HTTP Redirect With HTTPS Rejected

Thomas DuBuisson thomas.dubuisson at gmail.com
Tue Jul 20 17:00:56 EDT 2010

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.


On Tue, Jul 20, 2010 at 1:49 PM, aditya siram <aditya.siram at gmail.com> 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 <aditya.siram at gmail.com> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list