{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefxlab/pulls/comments/42688762","id":42688762,"diff_hunk":"@@ -0,0 +1,129 @@\n+﻿using System.Collections;\n+using System.Collections.Generic;\n+using System.Text.Utf8;\n+using LowAllocationServer;\n+\n+namespace System.Net.Http.Buffered\n+{\n+    public struct HttpHeaders : IEnumerable<KeyValuePair<Utf8String, Utf8String>>\n+    {\n+        private readonly ByteSpan _bytes;\n+        \n+        public HttpHeaders(ByteSpan bytes)\n+        {\n+            _bytes = bytes;            \n+        }                \n+\n+        public Utf8String this[string headerName]","path":"demos/LowAllocationWebServer/HttpHeaders.cs","position":17,"original_position":17,"commit_id":"0ac41ae420f359c2fbc719bf7cfb6dd07769dbef","original_commit_id":"0ac41ae420f359c2fbc719bf7cfb6dd07769dbef","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"body":"We could, but our server is not asking for it at the movement. But even if we do, we need to choose in what base we want to work: bytespan or utf8string.","created_at":"2015-10-21T22:01:15Z","updated_at":"2015-10-21T22:01:15Z","html_url":"https://github.com/dotnet/corefxlab/pull/349#discussion_r42688762","pull_request_url":"https://api.github.com/repos/dotnet/corefxlab/pulls/349","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/comments/42688762"},"html":{"href":"https://github.com/dotnet/corefxlab/pull/349#discussion_r42688762"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/349"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefxlab/pulls/349","id":48364373,"html_url":"https://github.com/dotnet/corefxlab/pull/349","diff_url":"https://github.com/dotnet/corefxlab/pull/349.diff","patch_url":"https://github.com/dotnet/corefxlab/pull/349.patch","issue_url":"https://api.github.com/repos/dotnet/corefxlab/issues/349","number":349,"state":"open","locked":false,"title":"Headers parser","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"body":"Added a parser for Headers and implemented HttpHeaders","created_at":"2015-10-21T17:48:47Z","updated_at":"2015-10-21T22:01:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8bae9a6f1a31943e40fc7043fba156519786f92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefxlab/pulls/349/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefxlab/pulls/349/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefxlab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/issues/349/comments","statuses_url":"https://api.github.com/repos/dotnet/corefxlab/statuses/0ac41ae420f359c2fbc719bf7cfb6dd07769dbef","head":{"label":"livarcocc:master","ref":"master","sha":"0ac41ae420f359c2fbc719bf7cfb6dd07769dbef","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"repo":{"id":44553789,"name":"corefxlab","full_name":"livarcocc/corefxlab","owner":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/livarcocc/corefxlab","description":"This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.","fork":true,"url":"https://api.github.com/repos/livarcocc/corefxlab","forks_url":"https://api.github.com/repos/livarcocc/corefxlab/forks","keys_url":"https://api.github.com/repos/livarcocc/corefxlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livarcocc/corefxlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livarcocc/corefxlab/teams","hooks_url":"https://api.github.com/repos/livarcocc/corefxlab/hooks","issue_events_url":"https://api.github.com/repos/livarcocc/corefxlab/issues/events{/number}","events_url":"https://api.github.com/repos/livarcocc/corefxlab/events","assignees_url":"https://api.github.com/repos/livarcocc/corefxlab/assignees{/user}","branches_url":"https://api.github.com/repos/livarcocc/corefxlab/branches{/branch}","tags_url":"https://api.github.com/repos/livarcocc/corefxlab/tags","blobs_url":"https://api.github.com/repos/livarcocc/corefxlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livarcocc/corefxlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livarcocc/corefxlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/livarcocc/corefxlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livarcocc/corefxlab/statuses/{sha}","languages_url":"https://api.github.com/repos/livarcocc/corefxlab/languages","stargazers_url":"https://api.github.com/repos/livarcocc/corefxlab/stargazers","contributors_url":"https://api.github.com/repos/livarcocc/corefxlab/contributors","subscribers_url":"https://api.github.com/repos/livarcocc/corefxlab/subscribers","subscription_url":"https://api.github.com/repos/livarcocc/corefxlab/subscription","commits_url":"https://api.github.com/repos/livarcocc/corefxlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/livarcocc/corefxlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/livarcocc/corefxlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/livarcocc/corefxlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/livarcocc/corefxlab/contents/{+path}","compare_url":"https://api.github.com/repos/livarcocc/corefxlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livarcocc/corefxlab/merges","archive_url":"https://api.github.com/repos/livarcocc/corefxlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livarcocc/corefxlab/downloads","issues_url":"https://api.github.com/repos/livarcocc/corefxlab/issues{/number}","pulls_url":"https://api.github.com/repos/livarcocc/corefxlab/pulls{/number}","milestones_url":"https://api.github.com/repos/livarcocc/corefxlab/milestones{/number}","notifications_url":"https://api.github.com/repos/livarcocc/corefxlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livarcocc/corefxlab/labels{/name}","releases_url":"https://api.github.com/repos/livarcocc/corefxlab/releases{/id}","created_at":"2015-10-19T18:07:14Z","updated_at":"2015-10-19T18:07:25Z","pushed_at":"2015-10-21T18:34:53Z","git_url":"git://github.com/livarcocc/corefxlab.git","ssh_url":"git@github.com:livarcocc/corefxlab.git","clone_url":"https://github.com/livarcocc/corefxlab.git","svn_url":"https://github.com/livarcocc/corefxlab","homepage":"","size":21574,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"dotnet:master","ref":"master","sha":"eef888b5f982c27014809231599accc99156847c","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":29504192,"name":"corefxlab","full_name":"dotnet/corefxlab","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefxlab","description":"This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.","fork":false,"url":"https://api.github.com/repos/dotnet/corefxlab","forks_url":"https://api.github.com/repos/dotnet/corefxlab/forks","keys_url":"https://api.github.com/repos/dotnet/corefxlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefxlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefxlab/teams","hooks_url":"https://api.github.com/repos/dotnet/corefxlab/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefxlab/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefxlab/events","assignees_url":"https://api.github.com/repos/dotnet/corefxlab/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefxlab/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefxlab/tags","blobs_url":"https://api.github.com/repos/dotnet/corefxlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefxlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefxlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefxlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefxlab/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefxlab/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefxlab/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefxlab/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefxlab/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefxlab/subscription","commits_url":"https://api.github.com/repos/dotnet/corefxlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefxlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefxlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefxlab/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefxlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefxlab/merges","archive_url":"https://api.github.com/repos/dotnet/corefxlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefxlab/downloads","issues_url":"https://api.github.com/repos/dotnet/corefxlab/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefxlab/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefxlab/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefxlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefxlab/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefxlab/releases{/id}","created_at":"2015-01-20T00:44:35Z","updated_at":"2015-10-21T15:54:24Z","pushed_at":"2015-10-21T18:34:53Z","git_url":"git://github.com/dotnet/corefxlab.git","ssh_url":"git@github.com:dotnet/corefxlab.git","clone_url":"https://github.com/dotnet/corefxlab.git","svn_url":"https://github.com/dotnet/corefxlab","homepage":"","size":21574,"stargazers_count":177,"watchers_count":177,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":64,"forks":76,"open_issues":64,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/349"},"html":{"href":"https://github.com/dotnet/corefxlab/pull/349"},"issue":{"href":"https://api.github.com/repos/dotnet/corefxlab/issues/349"},"comments":{"href":"https://api.github.com/repos/dotnet/corefxlab/issues/349/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/349/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefxlab/pulls/349/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefxlab/statuses/0ac41ae420f359c2fbc719bf7cfb6dd07769dbef"}}}}