Comment 0 for bug 1271482

Revision history for this message
Michael Nelson (michael.nelson) wrote :

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