{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/3146","labels_url":"https://api.github.com/repos/nodejs/node/issues/3146/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/3146/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/3146/events","html_url":"https://github.com/nodejs/node/issues/3146","id":109296015,"number":3146,"title":"api docs say incomingMessage.headers is read-only but it is not","user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-01T13:10:50Z","updated_at":"2015-10-01T13:10:50Z","closed_at":null,"body":"While [http documentation](https://github.com/nodejs/node/blob/master/doc/api/http.markdown#messageheaders) says it is a Read-Only map, it isn't and nothing (not event tests) prevent from writing to an incoming message headers.\r\nThis is actually a feature which some might find useful (for writing express middlewares), so my\r\nsuggestion is to fix the documentation, not the code.\r\n"}}