[Haskell-cafe] HTTP Redirect With HTTPS Rejected

aditya siram aditya.siram at gmail.com
Tue Jul 20 16:49:04 EDT 2010


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
>


More information about the Haskell-Cafe mailing list