{"action":"opened","issue":{"url":"https://api.github.com/repos/Happstack/happstack-server/issues/17","labels_url":"https://api.github.com/repos/Happstack/happstack-server/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Happstack/happstack-server/issues/17/comments","events_url":"https://api.github.com/repos/Happstack/happstack-server/issues/17/events","html_url":"https://github.com/Happstack/happstack-server/issues/17","id":95653924,"number":17,"title":"Support range requests more conveniently","user":{"login":"dcoutts","id":1339423,"avatar_url":"https://avatars.githubusercontent.com/u/1339423?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoutts","html_url":"https://github.com/dcoutts","followers_url":"https://api.github.com/users/dcoutts/followers","following_url":"https://api.github.com/users/dcoutts/following{/other_user}","gists_url":"https://api.github.com/users/dcoutts/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoutts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoutts/subscriptions","organizations_url":"https://api.github.com/users/dcoutts/orgs","repos_url":"https://api.github.com/users/dcoutts/repos","events_url":"https://api.github.com/users/dcoutts/events{/privacy}","received_events_url":"https://api.github.com/users/dcoutts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-17T13:10:57Z","updated_at":"2015-07-17T13:10:57Z","closed_at":null,"body":"Would be nice to have something to support range requests more conveniently.\r\n\r\nThere's two cases here:\r\n\r\n * general content, some filter or helper `ToMessage` instance that does the right thing (including setting the response code, length and range headers, stripping of content-md5 etc).\r\n * send file, it should be easy enough to support single-range range requests because SendFile supports offset and count."}}