{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/9a7b191de8b6ec7fe0d6c66d0a5512fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9a7b191de8b6ec7fe0d6c66d0a5512fa","url":"https://api.github.com/users/mfeif","login":"mfeif","id":160125},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-13T00:10:11Z","comments":3,"closed_at":"2011-11-13T00:10:11Z","url":"https://api.github.com/repos/kennethreitz/requests/issues/245","body":"When using digest auth and a URL containing a \"?\" the question mark is removed, it seems, from the url.\r\n\r\nFor example, \r\n\r\nr = requests.get('http://foo.com/bar.json', auth=('digest', 'blah', 'bloh'))\r\n\r\nworks, but:\r\n\r\nr = requests.get('http://foo.com/bar.json?really=yes', auth=('digest', 'blah', 'bloh'))\r\n\r\nFails. Inspecting r.request.headers['uri'] shows:\r\n\r\n'http://foo.com/bar.jsonreally=yes'\r\n\r\nOf course, this could be just an output but, not the actual url that it's trying to hit. Unfortunately, I only have access to one side of this conversation, so I can't tell you what the library is actually sending/asking for. I'll try and find another server that I can test.\r\n","html_url":"https://github.com/kennethreitz/requests/issues/245","title":"malformed url when using digest with query-strings","number":245,"id":2168108,"created_at":"2011-11-07T22:08:26Z"},"action":"closed"}