[Haskell-cafe] Debugging Wreq/http-client https requests
codygman.consulting at gmail.com
Tue Nov 4 20:08:10 UTC 2014
I did end up using mitmproxy. However I didn't know about generating
my own certificate and made wreq ignore certificate settings. Your
solution is better I think, thanks.
On Mon, Nov 3, 2014 at 4:09 AM, Tomas Carnecky <tomas.carnecky at gmail.com> wrote:
> You can use mitmproxy with a self-generated certificate. That will
> work even if you can't control the URL where the app sends the
> requests to, simply add the hostname to your /etc/hosts and point it
> to 127.0.0.1.
> On Sat, Nov 1, 2014 at 12:16 AM, Cody Goodman
> <codygman.consulting at gmail.com> wrote:
>> I have a program that is POST'ing some data to a remote server.
>> However, some part of the data I'm sending is wrong I believe.
>> If this were plain http without encryption, wireshark would allow me
>> to see the exact data being sent over the wire. However, with https it
>> is encrypted.
>> Is there an inbuilt way to debug requests sent by wreq or more likely,
>> a way to output debug info for http-client?
>> Alternatively, is there a way to use NSS support with either of these libraries:
>> Thanks in advance to all for your time.
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe