{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments/33989027","id":33989027,"diff_hunk":"@@ -0,0 +1,15 @@\n+﻿// Copyright (c) .NET Foundation. All rights reserved.\n+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n+\n+using Microsoft.AspNet.Builder;\n+\n+namespace Microsoft.AspNet.BasicMiddleware","path":"src/Microsoft.AspNet.BasicMiddleware/HttpMethodOverrideExtensions.cs","position":6,"original_position":6,"commit_id":"696da50bf57a866646ebcd95c3047508525c43f2","original_commit_id":"696da50bf57a866646ebcd95c3047508525c43f2","user":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"body":"This class should go in the Builder namespace. For example, look at the extension methods for all the other middlesware: https://github.com/aspnet/Mvc/blob/faaba481e82f15e83b6ff02241fe2c55e568a9d0/src/Microsoft.AspNet.Mvc.Core/BuilderExtensions.cs#L11","created_at":"2015-07-06T22:18:41Z","updated_at":"2015-07-06T22:18:41Z","html_url":"https://github.com/aspnet/BasicMiddleware/pull/1#discussion_r33989027","pull_request_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments/33989027"},"html":{"href":"https://github.com/aspnet/BasicMiddleware/pull/1#discussion_r33989027"},"pull_request":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1","id":38832319,"html_url":"https://github.com/aspnet/BasicMiddleware/pull/1","diff_url":"https://github.com/aspnet/BasicMiddleware/pull/1.diff","patch_url":"https://github.com/aspnet/BasicMiddleware/pull/1.patch","issue_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/1","number":1,"state":"open","locked":false,"title":"Override Header Middleware","user":{"login":"mikaelm12","id":4809660,"avatar_url":"https://avatars.githubusercontent.com/u/4809660?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelm12","html_url":"https://github.com/mikaelm12","followers_url":"https://api.github.com/users/mikaelm12/followers","following_url":"https://api.github.com/users/mikaelm12/following{/other_user}","gists_url":"https://api.github.com/users/mikaelm12/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelm12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelm12/subscriptions","organizations_url":"https://api.github.com/users/mikaelm12/orgs","repos_url":"https://api.github.com/users/mikaelm12/repos","events_url":"https://api.github.com/users/mikaelm12/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelm12/received_events","type":"User","site_admin":false},"body":"@davidfowl @Tratcher @muratg @victorhurdugaci ","created_at":"2015-06-30T00:32:36Z","updated_at":"2015-07-06T22:18:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53376aa51fce404f6f85cc3e330065263df35484","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/1/comments","statuses_url":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/696da50bf57a866646ebcd95c3047508525c43f2","head":{"label":"aspnet:mimen/override-header-middleware","ref":"mimen/override-header-middleware","sha":"696da50bf57a866646ebcd95c3047508525c43f2","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":38068840,"name":"BasicMiddleware","full_name":"aspnet/BasicMiddleware","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/BasicMiddleware","description":"Basic middleware components for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/aspnet/BasicMiddleware","forks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/forks","keys_url":"https://api.github.com/repos/aspnet/BasicMiddleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/BasicMiddleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/BasicMiddleware/teams","hooks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/hooks","issue_events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/events","assignees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/BasicMiddleware/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/tags","blobs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/BasicMiddleware/languages","stargazers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/stargazers","contributors_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contributors","subscribers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscribers","subscription_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscription","commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/BasicMiddleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/BasicMiddleware/merges","archive_url":"https://api.github.com/repos/aspnet/BasicMiddleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/BasicMiddleware/downloads","issues_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/BasicMiddleware/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/BasicMiddleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/BasicMiddleware/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/BasicMiddleware/releases{/id}","created_at":"2015-06-25T19:15:27Z","updated_at":"2015-06-25T19:15:27Z","pushed_at":"2015-07-06T19:54:39Z","git_url":"git://github.com/aspnet/BasicMiddleware.git","ssh_url":"git@github.com:aspnet/BasicMiddleware.git","clone_url":"https://github.com/aspnet/BasicMiddleware.git","svn_url":"https://github.com/aspnet/BasicMiddleware","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"22ed0f541650e684c2671a284daeca9814f0eb2e","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":38068840,"name":"BasicMiddleware","full_name":"aspnet/BasicMiddleware","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/BasicMiddleware","description":"Basic middleware components for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/aspnet/BasicMiddleware","forks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/forks","keys_url":"https://api.github.com/repos/aspnet/BasicMiddleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/BasicMiddleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/BasicMiddleware/teams","hooks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/hooks","issue_events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/events","assignees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/BasicMiddleware/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/tags","blobs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/BasicMiddleware/languages","stargazers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/stargazers","contributors_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contributors","subscribers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscribers","subscription_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscription","commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/BasicMiddleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/BasicMiddleware/merges","archive_url":"https://api.github.com/repos/aspnet/BasicMiddleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/BasicMiddleware/downloads","issues_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/BasicMiddleware/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/BasicMiddleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/BasicMiddleware/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/BasicMiddleware/releases{/id}","created_at":"2015-06-25T19:15:27Z","updated_at":"2015-06-25T19:15:27Z","pushed_at":"2015-07-06T19:54:39Z","git_url":"git://github.com/aspnet/BasicMiddleware.git","ssh_url":"git@github.com:aspnet/BasicMiddleware.git","clone_url":"https://github.com/aspnet/BasicMiddleware.git","svn_url":"https://github.com/aspnet/BasicMiddleware","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1"},"html":{"href":"https://github.com/aspnet/BasicMiddleware/pull/1"},"issue":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/1"},"comments":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/696da50bf57a866646ebcd95c3047508525c43f2"}}}}