{"action":"created","issue":{"url":"https://api.github.com/repos/cappuccino/cappuccino/issues/1510","labels_url":"https://api.github.com/repos/cappuccino/cappuccino/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/cappuccino/cappuccino/issues/1510/comments","events_url":"https://api.github.com/repos/cappuccino/cappuccino/issues/1510/events","html_url":"https://github.com/cappuccino/cappuccino/pull/1510","id":4201353,"number":1510,"title":"Baseline initalization for CPURLRequest in -(id) init; method","user":{"login":"cheezcake","id":477439,"avatar_url":"https://avatars.githubusercontent.com/u/477439?v=3","gravatar_id":"","url":"https://api.github.com/users/cheezcake","html_url":"https://github.com/cheezcake","followers_url":"https://api.github.com/users/cheezcake/followers","following_url":"https://api.github.com/users/cheezcake/following{/other_user}","gists_url":"https://api.github.com/users/cheezcake/gists{/gist_id}","starred_url":"https://api.github.com/users/cheezcake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheezcake/subscriptions","organizations_url":"https://api.github.com/users/cheezcake/orgs","repos_url":"https://api.github.com/users/cheezcake/repos","events_url":"https://api.github.com/users/cheezcake/events{/privacy}","received_events_url":"https://api.github.com/users/cheezcake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cappuccino/cappuccino/labels/%23new","name":"#new","color":"f9aeae"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cappuccino/cappuccino/milestones/4","html_url":"https://github.com/cappuccino/cappuccino/milestones/Someday","labels_url":"https://api.github.com/repos/cappuccino/cappuccino/milestones/4/labels","id":107283,"number":4,"title":"Someday","description":"","creator":{"login":"aparajita","id":22218,"avatar_url":"https://avatars.githubusercontent.com/u/22218?v=3","gravatar_id":"","url":"https://api.github.com/users/aparajita","html_url":"https://github.com/aparajita","followers_url":"https://api.github.com/users/aparajita/followers","following_url":"https://api.github.com/users/aparajita/following{/other_user}","gists_url":"https://api.github.com/users/aparajita/gists{/gist_id}","starred_url":"https://api.github.com/users/aparajita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparajita/subscriptions","organizations_url":"https://api.github.com/users/aparajita/orgs","repos_url":"https://api.github.com/users/aparajita/repos","events_url":"https://api.github.com/users/aparajita/events{/privacy}","received_events_url":"https://api.github.com/users/aparajita/received_events","type":"User","site_admin":false},"open_issues":86,"closed_issues":981,"state":"open","created_at":"2012-04-12T21:50:28Z","updated_at":"2015-09-29T04:03:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2012-04-19T21:50:13Z","updated_at":"2015-09-29T04:04:44Z","closed_at":"2012-04-19T21:55:24Z","pull_request":{"url":"https://api.github.com/repos/cappuccino/cappuccino/pulls/1510","html_url":"https://github.com/cappuccino/cappuccino/pull/1510","diff_url":"https://github.com/cappuccino/cappuccino/pull/1510.diff","patch_url":"https://github.com/cappuccino/cappuccino/pull/1510.patch"},"body":"Hi,\r\n\r\nI recently spent about an hour and a half trying to figure out why my CPURLRequest would not take headers when created like this:\r\n\r\nvar req = [[CPURLRequest alloc] init];\r\n\r\n[req setURL: [CPURL URLWithString: @\"http://google.com\"]];\r\n\r\n[req setValue: @\"application/x-www-form-urlencoded\" forHTTPHeaderField: @\"Content-Type\"];\r\n\r\nIt turns out that init does not properly create the datastructures in memory, even though I followed all the technical procedures. I realize init is not the designated initializer, but memory should be in a writable state at least when an object is created.\r\n\r\nThanks!\r\n\r\n++ Briam R.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cappuccino/cappuccino/issues/comments/143938042","html_url":"https://github.com/cappuccino/cappuccino/pull/1510#issuecomment-143938042","issue_url":"https://api.github.com/repos/cappuccino/cappuccino/issues/1510","id":143938042,"user":{"login":"cappbot","id":1022439,"avatar_url":"https://avatars.githubusercontent.com/u/1022439?v=3","gravatar_id":"","url":"https://api.github.com/users/cappbot","html_url":"https://github.com/cappbot","followers_url":"https://api.github.com/users/cappbot/followers","following_url":"https://api.github.com/users/cappbot/following{/other_user}","gists_url":"https://api.github.com/users/cappbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cappbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cappbot/subscriptions","organizations_url":"https://api.github.com/users/cappbot/orgs","repos_url":"https://api.github.com/users/cappbot/repos","events_url":"https://api.github.com/users/cappbot/events{/privacy}","received_events_url":"https://api.github.com/users/cappbot/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T04:04:44Z","updated_at":"2015-09-29T04:04:44Z","body":"**Milestone:** Someday.  **Label:** #new.  **What's next?** A reviewer should examine this issue."}}