{"action":"opened","issue":{"url":"https://api.github.com/repos/devlucky/Kakapo/issues/21","repository_url":"https://api.github.com/repos/devlucky/Kakapo","labels_url":"https://api.github.com/repos/devlucky/Kakapo/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/devlucky/Kakapo/issues/21/comments","events_url":"https://api.github.com/repos/devlucky/Kakapo/issues/21/events","html_url":"https://github.com/devlucky/Kakapo/issues/21","id":147170032,"number":21,"title":"Allow the user to retrieve the HTTPHeaders of a request","user":{"login":"MP0w","id":1812932,"avatar_url":"https://avatars.githubusercontent.com/u/1812932?v=3","gravatar_id":"","url":"https://api.github.com/users/MP0w","html_url":"https://github.com/MP0w","followers_url":"https://api.github.com/users/MP0w/followers","following_url":"https://api.github.com/users/MP0w/following{/other_user}","gists_url":"https://api.github.com/users/MP0w/gists{/gist_id}","starred_url":"https://api.github.com/users/MP0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MP0w/subscriptions","organizations_url":"https://api.github.com/users/MP0w/orgs","repos_url":"https://api.github.com/users/MP0w/repos","events_url":"https://api.github.com/users/MP0w/events{/privacy}","received_events_url":"https://api.github.com/users/MP0w/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/devlucky/Kakapo/labels/discussion","name":"discussion","color":"fbca04"},{"url":"https://api.github.com/repos/devlucky/Kakapo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-09T22:37:00Z","updated_at":"2016-04-09T22:37:00Z","closed_at":null,"body":"```swift\r\n struct Request {\r\n          let info: URLInfo\r\n         let HTTPBody: NSData?\r\n+       let HTTPHeaders: [String: String]?\r\n }\r\n```\r\n\r\nor (preferred by me)\r\n```swift\r\n struct Request {\r\n          let info: URLInfo\r\n         let URLRequest: NSURLRequest\r\n }\r\n```\r\n\r\nIn my opinion NSURLRequest makes it more flexible and not more complex. "}}