Fiddler modify response in case of protocol violation

1 posts, 0 answers
  1. Olivier
    Olivier avatar
    1 posts
    Member since:
    Feb 2014

    Posted 14 Sep 2018 Link to this post

    I'm writing a PC application that communicates with an Http server. This server implementation is buggy and generates mal-formatted responses. It is something I have to deal with.
    I'm trying to use Fiddler to see the content of the response, and to adapt my code in consequence. But when Fiddler detects a protocol violation, it makes changes to the response.

    Here is a log from fiddler:

    11:39:10:1884 Fiddler.Network.ProtocolViolation - [#1] Response does not start with HTTP. Data:
    200 OK

    And the corresponding response header generated by Fiddler:

    HTTP/1.1 500 Fiddler - Bad Response
    Date: Tue, 11 Sep 2018 09:39:10 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: close
    Cache-Control: no-cache, must-revalidate
    Timestamp: 11:39:10.188

    I cannot even see the original response, the only one visible in Fiddler in the 'Response' pane is the modified one.
    I would like my application to receive the original (mal-formatted) response. Is there any way to configure Fiddler to forward the response exactly as it receives it?

Back to Top