{"action":"created","comment":{"url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/comments/42669677","id":42669677,"diff_hunk":"@@ -1143,6 +1143,7 @@ static Method lookup(String method) {\n             NO_CONTENT(204, \"No Content\"),\n             PARTIAL_CONTENT(206, \"Partial Content\"),\n             REDIRECT(301, \"Moved Permanently\"),\n+            REDIRECT_SEE_OTHER(303, \"Moved Permanently\"),","path":"core/src/main/java/fi/iki/elonen/NanoHTTPD.java","position":4,"original_position":4,"commit_id":"b061fcd81d1570a58f044d321f3f7e4437277254","original_commit_id":"b061fcd81d1570a58f044d321f3f7e4437277254","user":{"login":"philippwiesemann","id":5358527,"avatar_url":"https://avatars.githubusercontent.com/u/5358527?v=3","gravatar_id":"","url":"https://api.github.com/users/philippwiesemann","html_url":"https://github.com/philippwiesemann","followers_url":"https://api.github.com/users/philippwiesemann/followers","following_url":"https://api.github.com/users/philippwiesemann/following{/other_user}","gists_url":"https://api.github.com/users/philippwiesemann/gists{/gist_id}","starred_url":"https://api.github.com/users/philippwiesemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippwiesemann/subscriptions","organizations_url":"https://api.github.com/users/philippwiesemann/orgs","repos_url":"https://api.github.com/users/philippwiesemann/repos","events_url":"https://api.github.com/users/philippwiesemann/events{/privacy}","received_events_url":"https://api.github.com/users/philippwiesemann/received_events","type":"User","site_admin":false},"body":"The description for 303 should be \"See Other\". 301 is \"Moved Permanently\".","created_at":"2015-10-21T19:22:46Z","updated_at":"2015-10-21T19:22:46Z","html_url":"https://github.com/NanoHttpd/nanohttpd/pull/245#discussion_r42669677","pull_request_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245","_links":{"self":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/comments/42669677"},"html":{"href":"https://github.com/NanoHttpd/nanohttpd/pull/245#discussion_r42669677"},"pull_request":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245"}}},"pull_request":{"url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245","id":48036876,"html_url":"https://github.com/NanoHttpd/nanohttpd/pull/245","diff_url":"https://github.com/NanoHttpd/nanohttpd/pull/245.diff","patch_url":"https://github.com/NanoHttpd/nanohttpd/pull/245.patch","issue_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/245","number":245,"state":"open","locked":false,"title":" Added constructors for REDIRECT_SEE_OTHER and NO_CONTENT responses","user":{"login":"kdmurthy","id":293824,"avatar_url":"https://avatars.githubusercontent.com/u/293824?v=3","gravatar_id":"","url":"https://api.github.com/users/kdmurthy","html_url":"https://github.com/kdmurthy","followers_url":"https://api.github.com/users/kdmurthy/followers","following_url":"https://api.github.com/users/kdmurthy/following{/other_user}","gists_url":"https://api.github.com/users/kdmurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/kdmurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdmurthy/subscriptions","organizations_url":"https://api.github.com/users/kdmurthy/orgs","repos_url":"https://api.github.com/users/kdmurthy/repos","events_url":"https://api.github.com/users/kdmurthy/events{/privacy}","received_events_url":"https://api.github.com/users/kdmurthy/received_events","type":"User","site_admin":false},"body":"Using NanoHTTPD to implement a server - the client code is not part of this project. One of the features missing is to create a redirect response with a location header. Added a static method for that. The newNoContentResponse is just a helper method.\r\n","created_at":"2015-10-19T07:01:57Z","updated_at":"2015-10-21T19:22:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8eaa2f92095994f2185587bdb5cc2400ba82e78d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245/commits","review_comments_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245/comments","review_comment_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/245/comments","statuses_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/statuses/b061fcd81d1570a58f044d321f3f7e4437277254","head":{"label":"kdmurthy:master","ref":"master","sha":"b061fcd81d1570a58f044d321f3f7e4437277254","user":{"login":"kdmurthy","id":293824,"avatar_url":"https://avatars.githubusercontent.com/u/293824?v=3","gravatar_id":"","url":"https://api.github.com/users/kdmurthy","html_url":"https://github.com/kdmurthy","followers_url":"https://api.github.com/users/kdmurthy/followers","following_url":"https://api.github.com/users/kdmurthy/following{/other_user}","gists_url":"https://api.github.com/users/kdmurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/kdmurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdmurthy/subscriptions","organizations_url":"https://api.github.com/users/kdmurthy/orgs","repos_url":"https://api.github.com/users/kdmurthy/repos","events_url":"https://api.github.com/users/kdmurthy/events{/privacy}","received_events_url":"https://api.github.com/users/kdmurthy/received_events","type":"User","site_admin":false},"repo":{"id":44514930,"name":"nanohttpd","full_name":"kdmurthy/nanohttpd","owner":{"login":"kdmurthy","id":293824,"avatar_url":"https://avatars.githubusercontent.com/u/293824?v=3","gravatar_id":"","url":"https://api.github.com/users/kdmurthy","html_url":"https://github.com/kdmurthy","followers_url":"https://api.github.com/users/kdmurthy/followers","following_url":"https://api.github.com/users/kdmurthy/following{/other_user}","gists_url":"https://api.github.com/users/kdmurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/kdmurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdmurthy/subscriptions","organizations_url":"https://api.github.com/users/kdmurthy/orgs","repos_url":"https://api.github.com/users/kdmurthy/repos","events_url":"https://api.github.com/users/kdmurthy/events{/privacy}","received_events_url":"https://api.github.com/users/kdmurthy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kdmurthy/nanohttpd","description":"Tiny, easily embeddable HTTP server in Java.","fork":true,"url":"https://api.github.com/repos/kdmurthy/nanohttpd","forks_url":"https://api.github.com/repos/kdmurthy/nanohttpd/forks","keys_url":"https://api.github.com/repos/kdmurthy/nanohttpd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kdmurthy/nanohttpd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kdmurthy/nanohttpd/teams","hooks_url":"https://api.github.com/repos/kdmurthy/nanohttpd/hooks","issue_events_url":"https://api.github.com/repos/kdmurthy/nanohttpd/issues/events{/number}","events_url":"https://api.github.com/repos/kdmurthy/nanohttpd/events","assignees_url":"https://api.github.com/repos/kdmurthy/nanohttpd/assignees{/user}","branches_url":"https://api.github.com/repos/kdmurthy/nanohttpd/branches{/branch}","tags_url":"https://api.github.com/repos/kdmurthy/nanohttpd/tags","blobs_url":"https://api.github.com/repos/kdmurthy/nanohttpd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kdmurthy/nanohttpd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kdmurthy/nanohttpd/git/refs{/sha}","trees_url":"https://api.github.com/repos/kdmurthy/nanohttpd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kdmurthy/nanohttpd/statuses/{sha}","languages_url":"https://api.github.com/repos/kdmurthy/nanohttpd/languages","stargazers_url":"https://api.github.com/repos/kdmurthy/nanohttpd/stargazers","contributors_url":"https://api.github.com/repos/kdmurthy/nanohttpd/contributors","subscribers_url":"https://api.github.com/repos/kdmurthy/nanohttpd/subscribers","subscription_url":"https://api.github.com/repos/kdmurthy/nanohttpd/subscription","commits_url":"https://api.github.com/repos/kdmurthy/nanohttpd/commits{/sha}","git_commits_url":"https://api.github.com/repos/kdmurthy/nanohttpd/git/commits{/sha}","comments_url":"https://api.github.com/repos/kdmurthy/nanohttpd/comments{/number}","issue_comment_url":"https://api.github.com/repos/kdmurthy/nanohttpd/issues/comments{/number}","contents_url":"https://api.github.com/repos/kdmurthy/nanohttpd/contents/{+path}","compare_url":"https://api.github.com/repos/kdmurthy/nanohttpd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kdmurthy/nanohttpd/merges","archive_url":"https://api.github.com/repos/kdmurthy/nanohttpd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kdmurthy/nanohttpd/downloads","issues_url":"https://api.github.com/repos/kdmurthy/nanohttpd/issues{/number}","pulls_url":"https://api.github.com/repos/kdmurthy/nanohttpd/pulls{/number}","milestones_url":"https://api.github.com/repos/kdmurthy/nanohttpd/milestones{/number}","notifications_url":"https://api.github.com/repos/kdmurthy/nanohttpd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kdmurthy/nanohttpd/labels{/name}","releases_url":"https://api.github.com/repos/kdmurthy/nanohttpd/releases{/id}","created_at":"2015-10-19T06:20:00Z","updated_at":"2015-10-19T06:20:02Z","pushed_at":"2015-10-19T06:59:10Z","git_url":"git://github.com/kdmurthy/nanohttpd.git","ssh_url":"git@github.com:kdmurthy/nanohttpd.git","clone_url":"https://github.com/kdmurthy/nanohttpd.git","svn_url":"https://github.com/kdmurthy/nanohttpd","homepage":"http://nanohttpd.org","size":2867,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"NanoHttpd:master","ref":"master","sha":"6b302d1735579ac02f327b87cc99fdbfea09f61b","user":{"login":"NanoHttpd","id":4050245,"avatar_url":"https://avatars.githubusercontent.com/u/4050245?v=3","gravatar_id":"","url":"https://api.github.com/users/NanoHttpd","html_url":"https://github.com/NanoHttpd","followers_url":"https://api.github.com/users/NanoHttpd/followers","following_url":"https://api.github.com/users/NanoHttpd/following{/other_user}","gists_url":"https://api.github.com/users/NanoHttpd/gists{/gist_id}","starred_url":"https://api.github.com/users/NanoHttpd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NanoHttpd/subscriptions","organizations_url":"https://api.github.com/users/NanoHttpd/orgs","repos_url":"https://api.github.com/users/NanoHttpd/repos","events_url":"https://api.github.com/users/NanoHttpd/events{/privacy}","received_events_url":"https://api.github.com/users/NanoHttpd/received_events","type":"Organization","site_admin":false},"repo":{"id":5374914,"name":"nanohttpd","full_name":"NanoHttpd/nanohttpd","owner":{"login":"NanoHttpd","id":4050245,"avatar_url":"https://avatars.githubusercontent.com/u/4050245?v=3","gravatar_id":"","url":"https://api.github.com/users/NanoHttpd","html_url":"https://github.com/NanoHttpd","followers_url":"https://api.github.com/users/NanoHttpd/followers","following_url":"https://api.github.com/users/NanoHttpd/following{/other_user}","gists_url":"https://api.github.com/users/NanoHttpd/gists{/gist_id}","starred_url":"https://api.github.com/users/NanoHttpd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NanoHttpd/subscriptions","organizations_url":"https://api.github.com/users/NanoHttpd/orgs","repos_url":"https://api.github.com/users/NanoHttpd/repos","events_url":"https://api.github.com/users/NanoHttpd/events{/privacy}","received_events_url":"https://api.github.com/users/NanoHttpd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NanoHttpd/nanohttpd","description":"Tiny, easily embeddable HTTP server in Java.","fork":false,"url":"https://api.github.com/repos/NanoHttpd/nanohttpd","forks_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/forks","keys_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/teams","hooks_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/hooks","issue_events_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/events{/number}","events_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/events","assignees_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/assignees{/user}","branches_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/branches{/branch}","tags_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/tags","blobs_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/git/refs{/sha}","trees_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/statuses/{sha}","languages_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/languages","stargazers_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/stargazers","contributors_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/contributors","subscribers_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/subscribers","subscription_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/subscription","commits_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/commits{/sha}","git_commits_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/git/commits{/sha}","comments_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/comments{/number}","issue_comment_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/comments{/number}","contents_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/contents/{+path}","compare_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/merges","archive_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/downloads","issues_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues{/number}","pulls_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls{/number}","milestones_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/milestones{/number}","notifications_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/labels{/name}","releases_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/releases{/id}","created_at":"2012-08-10T21:52:42Z","updated_at":"2015-10-21T15:15:45Z","pushed_at":"2015-10-21T16:56:58Z","git_url":"git://github.com/NanoHttpd/nanohttpd.git","ssh_url":"git@github.com:NanoHttpd/nanohttpd.git","clone_url":"https://github.com/NanoHttpd/nanohttpd.git","svn_url":"https://github.com/NanoHttpd/nanohttpd","homepage":"http://nanohttpd.org","size":2867,"stargazers_count":1394,"watchers_count":1394,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":670,"mirror_url":null,"open_issues_count":20,"forks":670,"open_issues":20,"watchers":1394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245"},"html":{"href":"https://github.com/NanoHttpd/nanohttpd/pull/245"},"issue":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/245"},"comments":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/245/comments"},"review_comments":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245/comments"},"review_comment":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/245/commits"},"statuses":{"href":"https://api.github.com/repos/NanoHttpd/nanohttpd/statuses/b061fcd81d1570a58f044d321f3f7e4437277254"}}}}