{"action":"created","comment":{"url":"https://api.github.com/repos/hapijs/makemehapi/pulls/comments/25599805","id":25599805,"diff_hunk":"@@ -0,0 +1,69 @@\n+Créez un serveur qui a une configuration de route exposant des points d’accès\n+`set-cookie` et `check-cookie`, accessibles via des requêtes GET, décrits\n+ci-après.\n+\n+```\n+/set-cookie\n+```\n+\n+Le point d’accès `set-cookie` définit un cookie avec une clé `'session'` et une\n+valeur `{ key: 'makemehapi' }`.  Le cookie doit être encodé au format\n+`base64json`, expirer au bout de 10ms et être associé au domaine `localhost`.\n+La réponse est sans importance pour cette exercice : mettez ce que vous voulez.\n+\n+```\n+/check-cookie\n+```\n+\n+Le point d’accès `check-cookie` doit pouvoir recevoir ceux définis par\n+`/set-cookie`.  Si la clé `'session'` est présente, renvoyez simplement comme\n+réponse `{ user: 'hapi' }`, sinon renvoyez une erreur d’accès `unauthorized`.","path":"exercises/cookies/problem.fr.md","position":20,"original_position":20,"commit_id":"d433dbf55f9365bfd3140a036bc7326a6eedbff1","original_commit_id":"d433dbf55f9365bfd3140a036bc7326a6eedbff1","user":{"login":"JeremiePat","id":400737,"avatar_url":"https://avatars.githubusercontent.com/u/400737?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremiePat","html_url":"https://github.com/JeremiePat","followers_url":"https://api.github.com/users/JeremiePat/followers","following_url":"https://api.github.com/users/JeremiePat/following{/other_user}","gists_url":"https://api.github.com/users/JeremiePat/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremiePat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremiePat/subscriptions","organizations_url":"https://api.github.com/users/JeremiePat/orgs","repos_url":"https://api.github.com/users/JeremiePat/repos","events_url":"https://api.github.com/users/JeremiePat/events{/privacy}","received_events_url":"https://api.github.com/users/JeremiePat/received_events","type":"User","site_admin":false},"body":"\"une erreur d'accès\" -> \"Une erreur d'accès HTTP\"","created_at":"2015-03-02T14:04:08Z","updated_at":"2015-03-02T14:04:08Z","html_url":"https://github.com/hapijs/makemehapi/pull/144#discussion_r25599805","pull_request_url":"https://api.github.com/repos/hapijs/makemehapi/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/comments/25599805"},"html":{"href":"https://github.com/hapijs/makemehapi/pull/144#discussion_r25599805"},"pull_request":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/hapijs/makemehapi/pulls/144","id":30265572,"html_url":"https://github.com/hapijs/makemehapi/pull/144","diff_url":"https://github.com/hapijs/makemehapi/pull/144.diff","patch_url":"https://github.com/hapijs/makemehapi/pull/144.patch","issue_url":"https://api.github.com/repos/hapijs/makemehapi/issues/144","number":144,"state":"open","locked":false,"title":"L10n fr","user":{"login":"tdd","id":3752,"avatar_url":"https://avatars.githubusercontent.com/u/3752?v=3","gravatar_id":"","url":"https://api.github.com/users/tdd","html_url":"https://github.com/tdd","followers_url":"https://api.github.com/users/tdd/followers","following_url":"https://api.github.com/users/tdd/following{/other_user}","gists_url":"https://api.github.com/users/tdd/gists{/gist_id}","starred_url":"https://api.github.com/users/tdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdd/subscriptions","organizations_url":"https://api.github.com/users/tdd/orgs","repos_url":"https://api.github.com/users/tdd/repos","events_url":"https://api.github.com/users/tdd/events{/privacy}","received_events_url":"https://api.github.com/users/tdd/received_events","type":"User","site_admin":false},"body":"g11n upgrade (latest versions of all infrastructure, verified everything still works as expected and is now g11n-ready) + FR L10n. An extra layer of proofreading is about to happen, I'll ping when ready for merge!","created_at":"2015-03-02T08:28:35Z","updated_at":"2015-03-02T14:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca581bd99ee63004893c16d2860caefcf57665c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hapijs/makemehapi/pulls/144/commits","review_comments_url":"https://api.github.com/repos/hapijs/makemehapi/pulls/144/comments","review_comment_url":"https://api.github.com/repos/hapijs/makemehapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hapijs/makemehapi/issues/144/comments","statuses_url":"https://api.github.com/repos/hapijs/makemehapi/statuses/d433dbf55f9365bfd3140a036bc7326a6eedbff1","head":{"label":"deliciousinsights:l10n-fr","ref":"l10n-fr","sha":"d433dbf55f9365bfd3140a036bc7326a6eedbff1","user":{"login":"deliciousinsights","id":9801352,"avatar_url":"https://avatars.githubusercontent.com/u/9801352?v=3","gravatar_id":"","url":"https://api.github.com/users/deliciousinsights","html_url":"https://github.com/deliciousinsights","followers_url":"https://api.github.com/users/deliciousinsights/followers","following_url":"https://api.github.com/users/deliciousinsights/following{/other_user}","gists_url":"https://api.github.com/users/deliciousinsights/gists{/gist_id}","starred_url":"https://api.github.com/users/deliciousinsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deliciousinsights/subscriptions","organizations_url":"https://api.github.com/users/deliciousinsights/orgs","repos_url":"https://api.github.com/users/deliciousinsights/repos","events_url":"https://api.github.com/users/deliciousinsights/events{/privacy}","received_events_url":"https://api.github.com/users/deliciousinsights/received_events","type":"Organization","site_admin":false},"repo":{"id":29400082,"name":"makemehapi","full_name":"deliciousinsights/makemehapi","owner":{"login":"deliciousinsights","id":9801352,"avatar_url":"https://avatars.githubusercontent.com/u/9801352?v=3","gravatar_id":"","url":"https://api.github.com/users/deliciousinsights","html_url":"https://github.com/deliciousinsights","followers_url":"https://api.github.com/users/deliciousinsights/followers","following_url":"https://api.github.com/users/deliciousinsights/following{/other_user}","gists_url":"https://api.github.com/users/deliciousinsights/gists{/gist_id}","starred_url":"https://api.github.com/users/deliciousinsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deliciousinsights/subscriptions","organizations_url":"https://api.github.com/users/deliciousinsights/orgs","repos_url":"https://api.github.com/users/deliciousinsights/repos","events_url":"https://api.github.com/users/deliciousinsights/events{/privacy}","received_events_url":"https://api.github.com/users/deliciousinsights/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deliciousinsights/makemehapi","description":"Self guided workshops to teach you about hapi.","fork":true,"url":"https://api.github.com/repos/deliciousinsights/makemehapi","forks_url":"https://api.github.com/repos/deliciousinsights/makemehapi/forks","keys_url":"https://api.github.com/repos/deliciousinsights/makemehapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deliciousinsights/makemehapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deliciousinsights/makemehapi/teams","hooks_url":"https://api.github.com/repos/deliciousinsights/makemehapi/hooks","issue_events_url":"https://api.github.com/repos/deliciousinsights/makemehapi/issues/events{/number}","events_url":"https://api.github.com/repos/deliciousinsights/makemehapi/events","assignees_url":"https://api.github.com/repos/deliciousinsights/makemehapi/assignees{/user}","branches_url":"https://api.github.com/repos/deliciousinsights/makemehapi/branches{/branch}","tags_url":"https://api.github.com/repos/deliciousinsights/makemehapi/tags","blobs_url":"https://api.github.com/repos/deliciousinsights/makemehapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deliciousinsights/makemehapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deliciousinsights/makemehapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/deliciousinsights/makemehapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deliciousinsights/makemehapi/statuses/{sha}","languages_url":"https://api.github.com/repos/deliciousinsights/makemehapi/languages","stargazers_url":"https://api.github.com/repos/deliciousinsights/makemehapi/stargazers","contributors_url":"https://api.github.com/repos/deliciousinsights/makemehapi/contributors","subscribers_url":"https://api.github.com/repos/deliciousinsights/makemehapi/subscribers","subscription_url":"https://api.github.com/repos/deliciousinsights/makemehapi/subscription","commits_url":"https://api.github.com/repos/deliciousinsights/makemehapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/deliciousinsights/makemehapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/deliciousinsights/makemehapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/deliciousinsights/makemehapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/deliciousinsights/makemehapi/contents/{+path}","compare_url":"https://api.github.com/repos/deliciousinsights/makemehapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deliciousinsights/makemehapi/merges","archive_url":"https://api.github.com/repos/deliciousinsights/makemehapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deliciousinsights/makemehapi/downloads","issues_url":"https://api.github.com/repos/deliciousinsights/makemehapi/issues{/number}","pulls_url":"https://api.github.com/repos/deliciousinsights/makemehapi/pulls{/number}","milestones_url":"https://api.github.com/repos/deliciousinsights/makemehapi/milestones{/number}","notifications_url":"https://api.github.com/repos/deliciousinsights/makemehapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deliciousinsights/makemehapi/labels{/name}","releases_url":"https://api.github.com/repos/deliciousinsights/makemehapi/releases{/id}","created_at":"2015-01-17T17:57:25Z","updated_at":"2015-02-27T16:16:02Z","pushed_at":"2015-03-02T08:26:48Z","git_url":"git://github.com/deliciousinsights/makemehapi.git","ssh_url":"git@github.com:deliciousinsights/makemehapi.git","clone_url":"https://github.com/deliciousinsights/makemehapi.git","svn_url":"https://github.com/deliciousinsights/makemehapi","homepage":null,"size":536,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hapijs:master","ref":"master","sha":"95a03dae5238fe9afe5d0ee732b7e87a57ae911b","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":14965499,"name":"makemehapi","full_name":"hapijs/makemehapi","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/makemehapi","description":"Self guided workshops to teach you about hapi.","fork":false,"url":"https://api.github.com/repos/hapijs/makemehapi","forks_url":"https://api.github.com/repos/hapijs/makemehapi/forks","keys_url":"https://api.github.com/repos/hapijs/makemehapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/makemehapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/makemehapi/teams","hooks_url":"https://api.github.com/repos/hapijs/makemehapi/hooks","issue_events_url":"https://api.github.com/repos/hapijs/makemehapi/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/makemehapi/events","assignees_url":"https://api.github.com/repos/hapijs/makemehapi/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/makemehapi/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/makemehapi/tags","blobs_url":"https://api.github.com/repos/hapijs/makemehapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/makemehapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/makemehapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/makemehapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/makemehapi/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/makemehapi/languages","stargazers_url":"https://api.github.com/repos/hapijs/makemehapi/stargazers","contributors_url":"https://api.github.com/repos/hapijs/makemehapi/contributors","subscribers_url":"https://api.github.com/repos/hapijs/makemehapi/subscribers","subscription_url":"https://api.github.com/repos/hapijs/makemehapi/subscription","commits_url":"https://api.github.com/repos/hapijs/makemehapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/makemehapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/makemehapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/makemehapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/makemehapi/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/makemehapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/makemehapi/merges","archive_url":"https://api.github.com/repos/hapijs/makemehapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/makemehapi/downloads","issues_url":"https://api.github.com/repos/hapijs/makemehapi/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/makemehapi/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/makemehapi/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/makemehapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/makemehapi/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/makemehapi/releases{/id}","created_at":"2013-12-05T20:52:50Z","updated_at":"2015-03-02T05:26:29Z","pushed_at":"2015-02-12T20:08:45Z","git_url":"git://github.com/hapijs/makemehapi.git","ssh_url":"git@github.com:hapijs/makemehapi.git","clone_url":"https://github.com/hapijs/makemehapi.git","svn_url":"https://github.com/hapijs/makemehapi","homepage":null,"size":1223,"stargazers_count":190,"watchers_count":190,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":19,"forks":46,"open_issues":19,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/144"},"html":{"href":"https://github.com/hapijs/makemehapi/pull/144"},"issue":{"href":"https://api.github.com/repos/hapijs/makemehapi/issues/144"},"comments":{"href":"https://api.github.com/repos/hapijs/makemehapi/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hapijs/makemehapi/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/hapijs/makemehapi/statuses/d433dbf55f9365bfd3140a036bc7326a6eedbff1"}}}}