{"action":"created","issue":{"url":"https://api.github.com/repos/iron/params/issues/5","labels_url":"https://api.github.com/repos/iron/params/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/iron/params/issues/5/comments","events_url":"https://api.github.com/repos/iron/params/issues/5/events","html_url":"https://github.com/iron/params/issues/5","id":116466111,"number":5,"title":"Unable to parse URL","user":{"login":"MarkSwanson","id":122992,"avatar_url":"https://avatars.githubusercontent.com/u/122992?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkSwanson","html_url":"https://github.com/MarkSwanson","followers_url":"https://api.github.com/users/MarkSwanson/followers","following_url":"https://api.github.com/users/MarkSwanson/following{/other_user}","gists_url":"https://api.github.com/users/MarkSwanson/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkSwanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkSwanson/subscriptions","organizations_url":"https://api.github.com/users/MarkSwanson/orgs","repos_url":"https://api.github.com/users/MarkSwanson/repos","events_url":"https://api.github.com/users/MarkSwanson/events{/privacy}","received_events_url":"https://api.github.com/users/MarkSwanson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T02:27:20Z","updated_at":"2015-11-13T12:01:42Z","closed_at":null,"body":"When POSTing a blob to an Iron server this params library fails to parse the URL.\r\nIt looks like the code is trying to parse the body - and it gives this error:\r\n\r\nUrlDecodingError(BodyError(BodyError { detail: \"Invalid UTF-8 sequence\", cause: Utf8Error(Utf8Error { valid_up_to: 1 }) }))\r\n\r\nI need more control - I need to be able to explicitly extract params out of the URL - and NOT try any other mechanism. \r\n"},"comment":{"url":"https://api.github.com/repos/iron/params/issues/comments/156412479","html_url":"https://github.com/iron/params/issues/5#issuecomment-156412479","issue_url":"https://api.github.com/repos/iron/params/issues/5","id":156412479,"user":{"login":"SkylerLipthay","id":38674,"avatar_url":"https://avatars.githubusercontent.com/u/38674?v=3","gravatar_id":"","url":"https://api.github.com/users/SkylerLipthay","html_url":"https://github.com/SkylerLipthay","followers_url":"https://api.github.com/users/SkylerLipthay/followers","following_url":"https://api.github.com/users/SkylerLipthay/following{/other_user}","gists_url":"https://api.github.com/users/SkylerLipthay/gists{/gist_id}","starred_url":"https://api.github.com/users/SkylerLipthay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkylerLipthay/subscriptions","organizations_url":"https://api.github.com/users/SkylerLipthay/orgs","repos_url":"https://api.github.com/users/SkylerLipthay/repos","events_url":"https://api.github.com/users/SkylerLipthay/events{/privacy}","received_events_url":"https://api.github.com/users/SkylerLipthay/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T12:01:42Z","updated_at":"2015-11-13T12:01:42Z","body":"Hmm yeah, this is a bit tricky. The core problem is that `params` uses [`urlencoded`'s body parsing](https://github.com/iron/urlencoded/blob/master/src/lib.rs#L98) unconditionally, and so the body of any POST is at least required to be a valid UTF-8 form query string.\r\n\r\nMy apologies, I hadn't thought of this problem! I'll take a closer look and try to come up with a solution soon."}}