Steps to reproduce: * GET https://sc.staging.ubuntu.com/api/2.0/click-user-can-download/ (ie. no query data) Expected result: * BadRequest returned Actual result: * Oops [1]
The issue is that piston is using django internals (HttpResponse._get_content) which disappeared with 1.5. It may be fixed upstream [2].
[1] https://oops.canonical.com/?oopsid=OOPS-fdb3ec6932eb41de81119ddf81ca7b64 , traceback for posterity: https://pastebin.canonical.com/103381/ [2] http://stackoverflow.com/questions/16294518/httpresponse-has-no-attribute-get-content
Steps to reproduce: /sc.staging. ubuntu. com/api/ 2.0/click- user-can- download/ (ie. no query data)
* GET https:/
Expected result:
* BadRequest returned
Actual result:
* Oops [1]
The issue is that piston is using django internals (HttpResponse. _get_content) which disappeared with 1.5. It may be fixed upstream [2].
[1] https:/ /oops.canonical .com/?oopsid= OOPS-fdb3ec6932 eb41de81119ddf8 1ca7b64 , traceback for posterity: https:/ /pastebin. canonical. com/103381/ stackoverflow. com/questions/ 16294518/ httpresponse- has-no- attribute- get-content
[2] http://