pgte/nock — Issue #8: Allow mocking at a lower level than json
Author: mwawrusch
Created: 2011-11-02 07:21:44+00:00
State: open

I would like to use the verbatim output of curl, including all the headers, store that in a file and use it to mock a request. Right now it seems that this is not possible (I might be mistaken)

The reason for this is that I am doing a lot of API, Oauth2 work that requires certain content present in header fields, and the only way to correctly test this is to use the exact output from curl (everything else seems to be prone to error).