{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/407","labels_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/407/comments","events_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/407/events","html_url":"https://github.com/aspnet/HttpAbstractions/issues/407","id":106711097,"number":407,"title":"Expose Content-Length in IHttpResponseFeature","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/labels/needs%20design","name":"needs design","color":"006b75"},{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/labels/Perf","name":"Perf","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/milestones/9","html_url":"https://github.com/aspnet/HttpAbstractions/milestones/Backlog","labels_url":"https://api.github.com/repos/aspnet/HttpAbstractions/milestones/9/labels","id":787044,"number":9,"title":"Backlog","description":"","creator":{"login":"glennc","id":234688,"avatar_url":"https://avatars.githubusercontent.com/u/234688?v=3","gravatar_id":"","url":"https://api.github.com/users/glennc","html_url":"https://github.com/glennc","followers_url":"https://api.github.com/users/glennc/followers","following_url":"https://api.github.com/users/glennc/following{/other_user}","gists_url":"https://api.github.com/users/glennc/gists{/gist_id}","starred_url":"https://api.github.com/users/glennc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennc/subscriptions","organizations_url":"https://api.github.com/users/glennc/orgs","repos_url":"https://api.github.com/users/glennc/repos","events_url":"https://api.github.com/users/glennc/events{/privacy}","received_events_url":"https://api.github.com/users/glennc/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":4,"state":"open","created_at":"2014-09-12T02:42:38Z","updated_at":"2016-01-21T22:46:12Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-09-16T06:50:01Z","updated_at":"2016-01-25T08:40:27Z","closed_at":null,"body":"At the moment accessing content-length goes to string and back through parsing and the header collection. It is a ```long?``` on Response.\r\n\r\nThe string transitions are alloc heavy for 2000 requests at 108k meaning 54 Meg per 1M requests:\r\n\r\n![content-length](http://aoa.blob.core.windows.net/aspnet/cl.png)\r\n\r\nWhat I'd much prefer is to have the ```long?``` directly so I can output that straight to bytes without going via string or allocating.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/comments/174437523","html_url":"https://github.com/aspnet/HttpAbstractions/issues/407#issuecomment-174437523","issue_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/407","id":174437523,"user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T08:40:27Z","updated_at":"2016-01-25T08:40:27Z","body":"To clarify: Is breaking change for servers, not for end users as the attribute is already exposed - its just how its implemented that's emulated."}}