{"action":"closed","number":907,"pull_request":{"url":"https://api.github.com/repos/pallets/werkzeug/pulls/907","id":67069824,"html_url":"https://github.com/pallets/werkzeug/pull/907","diff_url":"https://github.com/pallets/werkzeug/pull/907.diff","patch_url":"https://github.com/pallets/werkzeug/pull/907.patch","issue_url":"https://api.github.com/repos/pallets/werkzeug/issues/907","number":907,"state":"closed","locked":false,"title":"Don't redirect to slash route when method does not match","user":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"body":"This is a very simple fix for https://github.com/pallets/flask/issues/1783, it simply only redirects to slash when the method matches as well. I think this would qualify as backwards compatible as it only changes behaviour for routes that previously returned a 405 where there were actual routes matching the route exactly.","created_at":"2016-04-19T18:50:11Z","updated_at":"2016-08-28T21:58:47Z","closed_at":"2016-08-28T21:58:47Z","merged_at":"2016-08-28T21:58:47Z","merge_commit_sha":"ff555eb0ca079f3a9110eb2006f1eaca3826dc09","assignee":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"assignees":[{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pallets/werkzeug/pulls/907/commits","review_comments_url":"https://api.github.com/repos/pallets/werkzeug/pulls/907/comments","review_comment_url":"https://api.github.com/repos/pallets/werkzeug/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pallets/werkzeug/issues/907/comments","statuses_url":"https://api.github.com/repos/pallets/werkzeug/statuses/ff555eb0ca079f3a9110eb2006f1eaca3826dc09","head":{"label":"JelteF:fix-strict_slashes-methods","ref":"fix-strict_slashes-methods","sha":"ff555eb0ca079f3a9110eb2006f1eaca3826dc09","user":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"repo":{"id":56622392,"name":"werkzeug","full_name":"JelteF/werkzeug","owner":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JelteF/werkzeug","description":"A flexible WSGI implementation and toolkit","fork":true,"url":"https://api.github.com/repos/JelteF/werkzeug","forks_url":"https://api.github.com/repos/JelteF/werkzeug/forks","keys_url":"https://api.github.com/repos/JelteF/werkzeug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JelteF/werkzeug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JelteF/werkzeug/teams","hooks_url":"https://api.github.com/repos/JelteF/werkzeug/hooks","issue_events_url":"https://api.github.com/repos/JelteF/werkzeug/issues/events{/number}","events_url":"https://api.github.com/repos/JelteF/werkzeug/events","assignees_url":"https://api.github.com/repos/JelteF/werkzeug/assignees{/user}","branches_url":"https://api.github.com/repos/JelteF/werkzeug/branches{/branch}","tags_url":"https://api.github.com/repos/JelteF/werkzeug/tags","blobs_url":"https://api.github.com/repos/JelteF/werkzeug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JelteF/werkzeug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JelteF/werkzeug/git/refs{/sha}","trees_url":"https://api.github.com/repos/JelteF/werkzeug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JelteF/werkzeug/statuses/{sha}","languages_url":"https://api.github.com/repos/JelteF/werkzeug/languages","stargazers_url":"https://api.github.com/repos/JelteF/werkzeug/stargazers","contributors_url":"https://api.github.com/repos/JelteF/werkzeug/contributors","subscribers_url":"https://api.github.com/repos/JelteF/werkzeug/subscribers","subscription_url":"https://api.github.com/repos/JelteF/werkzeug/subscription","commits_url":"https://api.github.com/repos/JelteF/werkzeug/commits{/sha}","git_commits_url":"https://api.github.com/repos/JelteF/werkzeug/git/commits{/sha}","comments_url":"https://api.github.com/repos/JelteF/werkzeug/comments{/number}","issue_comment_url":"https://api.github.com/repos/JelteF/werkzeug/issues/comments{/number}","contents_url":"https://api.github.com/repos/JelteF/werkzeug/contents/{+path}","compare_url":"https://api.github.com/repos/JelteF/werkzeug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JelteF/werkzeug/merges","archive_url":"https://api.github.com/repos/JelteF/werkzeug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JelteF/werkzeug/downloads","issues_url":"https://api.github.com/repos/JelteF/werkzeug/issues{/number}","pulls_url":"https://api.github.com/repos/JelteF/werkzeug/pulls{/number}","milestones_url":"https://api.github.com/repos/JelteF/werkzeug/milestones{/number}","notifications_url":"https://api.github.com/repos/JelteF/werkzeug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JelteF/werkzeug/labels{/name}","releases_url":"https://api.github.com/repos/JelteF/werkzeug/releases{/id}","deployments_url":"https://api.github.com/repos/JelteF/werkzeug/deployments","created_at":"2016-04-19T18:42:34Z","updated_at":"2016-04-19T18:42:36Z","pushed_at":"2016-04-20T10:00:58Z","git_url":"git://github.com/JelteF/werkzeug.git","ssh_url":"git@github.com:JelteF/werkzeug.git","clone_url":"https://github.com/JelteF/werkzeug.git","svn_url":"https://github.com/JelteF/werkzeug","homepage":"http://werkzeug.pocoo.org/","size":12625,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pallets:master","ref":"master","sha":"3c5e31fbdbfafd108e4fbb2f5d54bb724f549bcb","user":{"login":"pallets","id":16748505,"avatar_url":"https://avatars.githubusercontent.com/u/16748505?v=3","gravatar_id":"","url":"https://api.github.com/users/pallets","html_url":"https://github.com/pallets","followers_url":"https://api.github.com/users/pallets/followers","following_url":"https://api.github.com/users/pallets/following{/other_user}","gists_url":"https://api.github.com/users/pallets/gists{/gist_id}","starred_url":"https://api.github.com/users/pallets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallets/subscriptions","organizations_url":"https://api.github.com/users/pallets/orgs","repos_url":"https://api.github.com/users/pallets/repos","events_url":"https://api.github.com/users/pallets/events{/privacy}","received_events_url":"https://api.github.com/users/pallets/received_events","type":"Organization","site_admin":false},"repo":{"id":997338,"name":"werkzeug","full_name":"pallets/werkzeug","owner":{"login":"pallets","id":16748505,"avatar_url":"https://avatars.githubusercontent.com/u/16748505?v=3","gravatar_id":"","url":"https://api.github.com/users/pallets","html_url":"https://github.com/pallets","followers_url":"https://api.github.com/users/pallets/followers","following_url":"https://api.github.com/users/pallets/following{/other_user}","gists_url":"https://api.github.com/users/pallets/gists{/gist_id}","starred_url":"https://api.github.com/users/pallets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallets/subscriptions","organizations_url":"https://api.github.com/users/pallets/orgs","repos_url":"https://api.github.com/users/pallets/repos","events_url":"https://api.github.com/users/pallets/events{/privacy}","received_events_url":"https://api.github.com/users/pallets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pallets/werkzeug","description":"A flexible WSGI implementation and toolkit","fork":false,"url":"https://api.github.com/repos/pallets/werkzeug","forks_url":"https://api.github.com/repos/pallets/werkzeug/forks","keys_url":"https://api.github.com/repos/pallets/werkzeug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pallets/werkzeug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pallets/werkzeug/teams","hooks_url":"https://api.github.com/repos/pallets/werkzeug/hooks","issue_events_url":"https://api.github.com/repos/pallets/werkzeug/issues/events{/number}","events_url":"https://api.github.com/repos/pallets/werkzeug/events","assignees_url":"https://api.github.com/repos/pallets/werkzeug/assignees{/user}","branches_url":"https://api.github.com/repos/pallets/werkzeug/branches{/branch}","tags_url":"https://api.github.com/repos/pallets/werkzeug/tags","blobs_url":"https://api.github.com/repos/pallets/werkzeug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pallets/werkzeug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pallets/werkzeug/git/refs{/sha}","trees_url":"https://api.github.com/repos/pallets/werkzeug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pallets/werkzeug/statuses/{sha}","languages_url":"https://api.github.com/repos/pallets/werkzeug/languages","stargazers_url":"https://api.github.com/repos/pallets/werkzeug/stargazers","contributors_url":"https://api.github.com/repos/pallets/werkzeug/contributors","subscribers_url":"https://api.github.com/repos/pallets/werkzeug/subscribers","subscription_url":"https://api.github.com/repos/pallets/werkzeug/subscription","commits_url":"https://api.github.com/repos/pallets/werkzeug/commits{/sha}","git_commits_url":"https://api.github.com/repos/pallets/werkzeug/git/commits{/sha}","comments_url":"https://api.github.com/repos/pallets/werkzeug/comments{/number}","issue_comment_url":"https://api.github.com/repos/pallets/werkzeug/issues/comments{/number}","contents_url":"https://api.github.com/repos/pallets/werkzeug/contents/{+path}","compare_url":"https://api.github.com/repos/pallets/werkzeug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pallets/werkzeug/merges","archive_url":"https://api.github.com/repos/pallets/werkzeug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pallets/werkzeug/downloads","issues_url":"https://api.github.com/repos/pallets/werkzeug/issues{/number}","pulls_url":"https://api.github.com/repos/pallets/werkzeug/pulls{/number}","milestones_url":"https://api.github.com/repos/pallets/werkzeug/milestones{/number}","notifications_url":"https://api.github.com/repos/pallets/werkzeug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pallets/werkzeug/labels{/name}","releases_url":"https://api.github.com/repos/pallets/werkzeug/releases{/id}","deployments_url":"https://api.github.com/repos/pallets/werkzeug/deployments","created_at":"2010-10-18T11:42:40Z","updated_at":"2016-08-28T12:51:18Z","pushed_at":"2016-08-28T21:58:44Z","git_url":"git://github.com/pallets/werkzeug.git","ssh_url":"git@github.com:pallets/werkzeug.git","clone_url":"https://github.com/pallets/werkzeug.git","svn_url":"https://github.com/pallets/werkzeug","homepage":"http://werkzeug.pocoo.org/","size":11761,"stargazers_count":2774,"watchers_count":2774,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":851,"mirror_url":null,"open_issues_count":167,"forks":851,"open_issues":167,"watchers":2774,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pallets/werkzeug/pulls/907"},"html":{"href":"https://github.com/pallets/werkzeug/pull/907"},"issue":{"href":"https://api.github.com/repos/pallets/werkzeug/issues/907"},"comments":{"href":"https://api.github.com/repos/pallets/werkzeug/issues/907/comments"},"review_comments":{"href":"https://api.github.com/repos/pallets/werkzeug/pulls/907/comments"},"review_comment":{"href":"https://api.github.com/repos/pallets/werkzeug/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pallets/werkzeug/pulls/907/commits"},"statuses":{"href":"https://api.github.com/repos/pallets/werkzeug/statuses/ff555eb0ca079f3a9110eb2006f1eaca3826dc09"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"comments":10,"review_comments":7,"commits":2,"additions":51,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"untitaker"}}