{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/155","labels_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/155/comments","events_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/155/events","html_url":"https://github.com/aspnet/HttpAbstractions/issues/155","id":51809617,"number":155,"title":"HttpAbstractions - QueryString - the leading \"?\" does not conform to OWIN spec","user":{"login":"fengari","id":1915810,"avatar_url":"https://avatars.githubusercontent.com/u/1915810?v=3","gravatar_id":"","url":"https://api.github.com/users/fengari","html_url":"https://github.com/fengari","followers_url":"https://api.github.com/users/fengari/followers","following_url":"https://api.github.com/users/fengari/following{/other_user}","gists_url":"https://api.github.com/users/fengari/gists{/gist_id}","starred_url":"https://api.github.com/users/fengari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengari/subscriptions","organizations_url":"https://api.github.com/users/fengari/orgs","repos_url":"https://api.github.com/users/fengari/repos","events_url":"https://api.github.com/users/fengari/events{/privacy}","received_events_url":"https://api.github.com/users/fengari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-12T14:11:30Z","updated_at":"2015-01-12T21:59:53Z","closed_at":null,"body":"http://owin.org/\r\nBoth 1.0.0 and the 1.1.0 draft say the owin.RequestQueryString must NOT include the leading \"?\" and the value may be an empty string.\r\n\r\nThis one:\r\nhttps://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http/QueryString.cs\r\n\r\nthrows in the constructor if the leading \"?\" is not there.\r\n\r\nWhich way do we go?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/comments/69654690","html_url":"https://github.com/aspnet/HttpAbstractions/issues/155#issuecomment-69654690","issue_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/155","id":69654690,"user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T21:59:53Z","updated_at":"2015-01-12T21:59:53Z","body":"It's primarily for convenience. This value us often used to generate new Uris via a simple concatenation with PathString:\r\n`pathBase + path + query`, so having the `?` built in prevents you from having to do this:\r\n`pathBase + path + (query.HasValue : \"?\" + query.Value : \"\")`"}}