{"action":"created","issue":{"url":"https://api.github.com/repos/pgte/nock/issues/470","repository_url":"https://api.github.com/repos/pgte/nock","labels_url":"https://api.github.com/repos/pgte/nock/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/pgte/nock/issues/470/comments","events_url":"https://api.github.com/repos/pgte/nock/issues/470/events","html_url":"https://github.com/pgte/nock/issues/470","id":132264227,"number":470,"title":"Bug: nock.define does not properly read reqheaders!","user":{"login":"JemiloII","id":5192788,"avatar_url":"https://avatars.githubusercontent.com/u/5192788?v=3","gravatar_id":"","url":"https://api.github.com/users/JemiloII","html_url":"https://github.com/JemiloII","followers_url":"https://api.github.com/users/JemiloII/followers","following_url":"https://api.github.com/users/JemiloII/following{/other_user}","gists_url":"https://api.github.com/users/JemiloII/gists{/gist_id}","starred_url":"https://api.github.com/users/JemiloII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemiloII/subscriptions","organizations_url":"https://api.github.com/users/JemiloII/orgs","repos_url":"https://api.github.com/users/JemiloII/repos","events_url":"https://api.github.com/users/JemiloII/events{/privacy}","received_events_url":"https://api.github.com/users/JemiloII/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgte/nock/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/pgte/nock/labels/help%20wanted","name":"help wanted","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-08T21:42:33Z","updated_at":"2016-02-25T16:54:45Z","closed_at":null,"body":"So using `nock.define(nocks);` I get an error when my `nockDef.body = ''` and `nockDef.reqheaders[content-length] = 0;`\r\n\r\nAlways a 404! I've had to resort to removing the content-length property.\r\n\r\nThought I'd note the bug. I was trying to dive in and figure out what it was so, but couldn't quite figure it out. My nockDef comes from being recorded and saved to json from \r\n```\r\nnock.recorder.rec({\r\n    output_objects: true,\r\n    use_separator: false,\r\n    enable_reqheaders_recording: true,\r\n    logging: ...\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/pgte/nock/issues/comments/188876591","html_url":"https://github.com/pgte/nock/issues/470#issuecomment-188876591","issue_url":"https://api.github.com/repos/pgte/nock/issues/470","id":188876591,"user":{"login":"JemiloII","id":5192788,"avatar_url":"https://avatars.githubusercontent.com/u/5192788?v=3","gravatar_id":"","url":"https://api.github.com/users/JemiloII","html_url":"https://github.com/JemiloII","followers_url":"https://api.github.com/users/JemiloII/followers","following_url":"https://api.github.com/users/JemiloII/following{/other_user}","gists_url":"https://api.github.com/users/JemiloII/gists{/gist_id}","starred_url":"https://api.github.com/users/JemiloII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemiloII/subscriptions","organizations_url":"https://api.github.com/users/JemiloII/orgs","repos_url":"https://api.github.com/users/JemiloII/repos","events_url":"https://api.github.com/users/JemiloII/events{/privacy}","received_events_url":"https://api.github.com/users/JemiloII/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T16:54:45Z","updated_at":"2016-02-25T16:54:45Z","body":"I might have to update this again, need to run some more test, but I think that nock isn't properly doing reqHeaders matches."}}