kasketis / netfox

A lightweight, one line setup, iOS / OSX network debugging library! 🦊
MIT License
3.68k stars 374 forks source link

netfox breaks Server Sent Events #164

Closed bjoernhaeuser closed 4 years ago

bjoernhaeuser commented 5 years ago

Hello everyone,

thank you for providing this amazing piece of software. Its making the development process a lot easier.

I recently tried to use a EventSource (https://github.com/inaka/EventSource) in our swift application together with netfox. The problem in this case is that the eventsource never gets the information that there is a http response.

I am not an swift expert, though I think this is caused because netfox is passing through this information for this stream. Is there a way to prevent netfox intercepting specific requests? Should this be done for all streaming requests?

If there are any concrete pointers to code pieces I would also be very happy to contribute a patch.

Thank you!