400 error responses with no body are difficult to debug
Bug #1248773 reported by
Russell Sim
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Russell Sim |
Bug Description
currenty if the response has no error body all that will be returned from the request is a error that looks like
Details: {u'badRequest': {u'message': u'Invalid input received: Bad request', u'code': 400}}
This will probably only occur in 2 cases: Header Line Too Long and Headers Too Large. They ar responses returned from eventlet and can't be returned with a JSON body.
It would be much easier to debug these problem if the HTTP reason code is encoded in the message instead of being thrown away.
e.g.
Details: {u'badRequest': {u'message': u'Invalid input received: Header Line Too Long', u'code': 400}}
Changed in python-cinderclient: | |
milestone: | none → 1.3.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/55478
Review: https:/