{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/takes/issues/505","repository_url":"https://api.github.com/repos/yegor256/takes","labels_url":"https://api.github.com/repos/yegor256/takes/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/takes/issues/505/comments","events_url":"https://api.github.com/repos/yegor256/takes/issues/505/events","html_url":"https://github.com/yegor256/takes/issues/505","id":125932629,"number":505,"title":"Basic access authentication","user":{"login":"piotrkot","id":9504395,"avatar_url":"https://avatars.githubusercontent.com/u/9504395?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrkot","html_url":"https://github.com/piotrkot","followers_url":"https://api.github.com/users/piotrkot/followers","following_url":"https://api.github.com/users/piotrkot/following{/other_user}","gists_url":"https://api.github.com/users/piotrkot/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrkot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrkot/subscriptions","organizations_url":"https://api.github.com/users/piotrkot/orgs","repos_url":"https://api.github.com/users/piotrkot/repos","events_url":"https://api.github.com/users/piotrkot/events{/privacy}","received_events_url":"https://api.github.com/users/piotrkot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-11T12:27:50Z","updated_at":"2016-03-09T04:51:24Z","closed_at":null,"body":"Could you please provide a sample of [basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication)?\r\nWhat I am trying to do is an authenticating/secure resource. Initial access should result in server response with header \"WWW-Authenticate: Basic realm...\", that is prompt for credentials.\r\nProvided correct credentials, it should be shown the resource.\r\nIt seems the below does the trick:\r\n```\r\nnew FkRegex(\r\n    \"/secure\",\r\n    new TkAuth(\r\n        new TkSecure(\r\n           new TkText(\"secured\")\r\n        ),\r\n        new PsBasic(\r\n            \"myrealm\",\r\n            new PsBasic.Default(\"mike password urn:users:michael\")\r\n        )\r\n    )\r\n)\r\n```\r\nbut it does not."},"comment":{"url":"https://api.github.com/repos/yegor256/takes/issues/comments/194112399","html_url":"https://github.com/yegor256/takes/issues/505#issuecomment-194112399","issue_url":"https://api.github.com/repos/yegor256/takes/issues/505","id":194112399,"user":{"login":"rultor","id":8086956,"avatar_url":"https://avatars.githubusercontent.com/u/8086956?v=3","gravatar_id":"","url":"https://api.github.com/users/rultor","html_url":"https://github.com/rultor","followers_url":"https://api.github.com/users/rultor/followers","following_url":"https://api.github.com/users/rultor/following{/other_user}","gists_url":"https://api.github.com/users/rultor/gists{/gist_id}","starred_url":"https://api.github.com/users/rultor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rultor/subscriptions","organizations_url":"https://api.github.com/users/rultor/orgs","repos_url":"https://api.github.com/users/rultor/repos","events_url":"https://api.github.com/users/rultor/events{/privacy}","received_events_url":"https://api.github.com/users/rultor/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T04:51:24Z","updated_at":"2016-03-09T04:51:24Z","body":"> @rultor release, tag is `0.32.5`\n\n@yegor256 OK, I will release it now. Please check the progress [here](http://www.rultor.com/t/7578-194112372)"}}