{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/3016","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/3016/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/3016/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/3016/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/issues/3016","id":53758498,"number":3016,"title":"Multiple prompts to enter Basic HTTP Auth credentials","user":{"login":"aerych","id":1435271,"avatar_url":"https://avatars.githubusercontent.com/u/1435271?v=3","gravatar_id":"","url":"https://api.github.com/users/aerych","html_url":"https://github.com/aerych","followers_url":"https://api.github.com/users/aerych/followers","following_url":"https://api.github.com/users/aerych/following{/other_user}","gists_url":"https://api.github.com/users/aerych/gists{/gist_id}","starred_url":"https://api.github.com/users/aerych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerych/subscriptions","organizations_url":"https://api.github.com/users/aerych/orgs","repos_url":"https://api.github.com/users/aerych/repos","events_url":"https://api.github.com/users/aerych/events{/privacy}","received_events_url":"https://api.github.com/users/aerych/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/priority-high","name":"priority-high","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"aerych","id":1435271,"avatar_url":"https://avatars.githubusercontent.com/u/1435271?v=3","gravatar_id":"","url":"https://api.github.com/users/aerych","html_url":"https://github.com/aerych","followers_url":"https://api.github.com/users/aerych/followers","following_url":"https://api.github.com/users/aerych/following{/other_user}","gists_url":"https://api.github.com/users/aerych/gists{/gist_id}","starred_url":"https://api.github.com/users/aerych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerych/subscriptions","organizations_url":"https://api.github.com/users/aerych/orgs","repos_url":"https://api.github.com/users/aerych/repos","events_url":"https://api.github.com/users/aerych/events{/privacy}","received_events_url":"https://api.github.com/users/aerych/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/30","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/30/labels","id":808807,"number":30,"title":"4.7","description":"","creator":{"login":"aerych","id":1435271,"avatar_url":"https://avatars.githubusercontent.com/u/1435271?v=3","gravatar_id":"","url":"https://api.github.com/users/aerych","html_url":"https://github.com/aerych","followers_url":"https://api.github.com/users/aerych/followers","following_url":"https://api.github.com/users/aerych/following{/other_user}","gists_url":"https://api.github.com/users/aerych/gists{/gist_id}","starred_url":"https://api.github.com/users/aerych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerych/subscriptions","organizations_url":"https://api.github.com/users/aerych/orgs","repos_url":"https://api.github.com/users/aerych/repos","events_url":"https://api.github.com/users/aerych/events{/privacy}","received_events_url":"https://api.github.com/users/aerych/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":81,"state":"open","created_at":"2014-09-30T19:47:51Z","updated_at":"2015-01-09T04:46:19Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-08T14:53:30Z","updated_at":"2015-01-09T12:58:23Z","closed_at":null,"body":"To reproduce:\r\nAdd a site that is secured with Basic HTTP Auth.  You will be prompted to enter credentials when you add the site to the app. \r\nOnce added, tap to view the site's details screen (the list of posts, pages, comments, etc.) \r\nYou will encounter multiple prompts to enter credentials, one for each request being made.  \r\nView the post list and pull to refresh.  You are again prompted to enter credentials. \r\n\r\nIt seems like every unique URL request eventually triggers the check `WPHTTPRequestOperation connection:willSendRequestForAuthenticationChallenge:` but subsequent requests of a previously requested URL do not.  I haven't gotten to the root of why subsequent requests do not show the prompt (maybe caching related?). \r\n\r\nAlso, as far as I can tell we're not adding an authorization header to any request on the secured site and I'm not sure why we wouldn't be doing that. \r\n\r\nI used our site on bh.wpmt.co when testing."},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/69330994","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/issues/3016#issuecomment-69330994","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/3016","id":69330994,"user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T12:58:22Z","updated_at":"2015-01-09T12:58:22Z","body":"+1, increasing from 4 to 6? 8? maximum concurrent connections \"doesn't sounds\"  like a big deal.\r\n\r\n(Famous last words, i know!)\r\n"}}