HTTP
HTTP copied to clipboard
Haskell HTTP package
Note - this is only for me to play with, I opened it with Copilot Workspace without looking closely at what it did. I'm not expecting anyone else to review...
When nothing listening on `localhost:81`, with following code: ``` (simpleHTTP (getRequest "http://localhost:81/")) >>= (\r -> case r of Left _ -> putStrLn "Error"; Right _ -> putStrLn "Alright!") ``` instead...
I'm using HEAD to check the size of a very large url before downloading it, so it's surprising that when there's a 302 redirect, it's followed using GET.
This is related to #14, which may have not been fixed properly. When using `cabal update` built with `HTTP-4000.2.17` and using a squid2 proxy, I get `cabal: does not exist`....
It would be nice to be able to have an instance of [`HStream`](http://hackage.haskell.org/package/HTTP-4000.2.19/docs/Network-TCP.html#t:HStream) that allows to stream without using lazy I/O; in particular, an instance that would allow us to...
Quoting https://github.com/haskell/cabal/issues/1962: > In order to avoid #1602 I upgraded HTTP to version 4000.2.17. But I noticed a new (minor) problem: If the proxy mentioned in http_proxy is down, I...
This was [originally](https://github.com/haskell/cabal/issues/1579) reported as a Cabal bug, but I believe it belongs here: > The value of HTTP_PROXY has as format > http://user:pass@host:80/ > > In the password special...
In ghci: ``` ghci > urlDecode "http://twitter.com/fred/statuses/200" "http://twitter.com/fred/statuses/200" ghci > urlDecode "http://twitter.com/%user_screen_name%/statuses/%id%" "http://twitter.com/*** Exception: Char.digitToInt: not a digit 'u' ``` It would be vastly nicer if `urlDecode`'s type was something...
Moved from https://github.com/haskell/cabal/issues/2035. Most pertinent: compiling and running [this program](https://gist.github.com/23Skidoo/c8d6ab1684ea11195a04) with GHC 7.8.3 produces the following on my Windows 8.1 x64 machine. I have tried to reproduce on VMs but...