Issue #797
closedWrong message error during query content applicability request
Description
$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{}' "https://localhost/pulp/api/v2/consumers/content/applicability/"
HTTP/1.1 400 Bad Request
Date: Wed, 18 Mar 2015 17:26:17 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Content-Length: 34
Connection: close
Content-Type: application/json
"Invalid properties: ['criteria']"
I expect:
$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: django" -X POST -k -u admin:admin -d '{}' "https://localhost/pulp/api/v2/consumers/content/applicability/"
HTTP/1.1 400 BAD REQUEST
Date: Wed, 18 Mar 2015 17:26:35 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Content-Length: 93
Connection: close
Content-Type: text/html; charset=utf-8
Invalid properties: ["The input to this method must be a JSON object with a 'criteria' key."]