pgte/nock — Issue #13: Bad quoting of json strings
Author: dscape
Created: 2011-12-02 00:46:20+00:00
State: open

```
nock('nodejsbug.iriscouch.com')
.put('/v061_doc_cha/foobar', '"{\"foo\":\"bar\"}"')
.reply(201, "{\"ok\":true,\"id\":\"foobar\",\"rev\":\"1-4c6114c65e295552ab1019e2b046b10e\"}\n", { server: 'CouchDB/1.1.1 (Erlang OTP/R14B04)',
location: 'http://nodejsbug.iriscouch.com/v061_doc_cha/foobar',
etag: '"1-4c6114c65e295552ab1019e2b046b10e"',
date: 'Fri, 02 Dec 2011 00:34:58 GMT',
'content-type': 'application/json',
'content-length': '69',
'cache-control': 'must-revalidate' });
```

`'"{\"foo\":\"bar\"}"'` should be `'{"foo":"bar"}'`