Does not handle 301s

Bug #1026669 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
piston-mini-client
New
Undecided
Unassigned

Bug Description

If piston-mini-client hits a URL that returns a 301, it raises a ValueError about not being able to decode JSON, rather than doing the expected, which is redirecting.

One good way to see this is to hit: http://developer.staging.ubuntu.com/dev/api/app-metadata/. The server will redirect you to the https version of that URL.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.