wreq
wreq copied to clipboard
Repro steps: ``` stack repl --package wreq Prelude> import Network.Wreq Prelude Network.Wreq> :set +s # Quick request, no delays: Prelude Network.Wreq> get "http://httpbin.org/drip?duration=0&numbytes=10&code=200&delay=0" Response {responseStatus = Status {statusCode = 200,...
Examples mention this code: ``` import OpenSSL.Session (context) import Network.HTTP.Client.OpenSSL let opts = defaults & manager .~ Left (opensslManagerSettings context) withOpenSSL $ getWith opts "https://httpbin.org/get" ``` at http://hackage.haskell.org/package/wreq-0.5.3.2/docs/Network-Wreq.html But there...
``` Running 2 test suites... Test suite tests: RUNNING... Test suite tests: PASS Test suite logged to: dist/test/wreq-0.5.3.2-tests.log Test suite doctests: RUNNING... /build/haskell-wreq/src/wreq-0.5.3.2/Network/Wreq.hs:221: failure in expression `r ^? responseBody ....
I want to make an app that calls an api in `http://localhost/`, so it doesn't make too much sense to use certificates. So, because of [this bug in hs-certificate](https://github.com/vincenthz/hs-certificate/issues/92) I...
For testing purposes, I need to ignore a self-signed certificate. I have tried getWith using the TLSSimpleSettings as shown here: https://gist.github.com/j-keck/4f025ea39d6da259c1dc - but I'm still getting the certificate error: (InternalException...
Suggest that the documentation be more explicit on what responses result in exception. In particular, what status codes result in an exception? What statuses are the responsibility of client code?...
.. title It happened when filling the bearer token of this libary: http://hackage.haskell.org/package/voicebase-0.1.1.1/docs/VoicebaseClient.html#v:transcribeBytes Perhaps the bodies of header values should be url encoded? It took me a long time to...
I was looking into adding a cache to my feed fetcher toy project and found that there is already something called Cache in wreq. But I have no idea what...