ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

Doesn't work with webmock/fakeweb #2

Closed jonleighton closed 13 years ago

jonleighton commented 13 years ago

I am getting some issues using this alongside webmock / fakeweb due to the Net::HTTP hacking it seems. Cheers.

ncr commented 13 years ago

Care to elaborate?

jonleighton commented 13 years ago

Hi, sorry I was a bit rushed when I posted this and it wasn't a very helpful report... I will provide more details later today. Thanks.

ncr commented 13 years ago

Thanks :)

jonleighton commented 13 years ago

Hiya,

Here's a failing example: https://gist.github.com/793243

Probably fakeweb is also doing Net::HTTP hacking, so I'm not sure whose "fault" it is. Note it also happens with webmock.

Cheers

ncr commented 13 years ago

Yep, I was afraid so. I'll update README with a warning for now.