<div dir="ltr"><div><div>Hi, stackers,<br><br>In review patch: <a href="https://review.openstack.org/64099" target="_blank">https://review.openstack.org/64099</a>, I found that if we use kwargs detail instead of explanation when we raise that WSGIHTTPException, the http response body will generate 'message' using default explanation, instead of what we expected which is detail=msg.<br>
<br></div>So I register bug: <a href="https://bugs.launchpad.net/nova/+bug/1264328">https://bugs.launchpad.net/nova/+bug/1264328</a> and Kiyohiro Adach register <a href="https://bugs.launchpad.net/cinder/+bug/1264424">https://bugs.launchpad.net/cinder/+bug/1264424</a> to identify this problem<br>
<br></div>However, in <a href="https://review.openstack.org/#/c/64230/">https://review.openstack.org/#/c/64230/</a>, Huang Zhiteng mentioned that: <br>```<br>John mentioned this a few times, some customers may reply on this 
'not-so-correct' API behavior for their automation.  I'm not sure how 
changes like this will affect them.<br><div><div>```<br><br></div><div>So I want to know what is the right action we should take, IMHO, we should fix all of those statements in master branch, which means:<br><br></div><div>
- raise webob.exc.HTTPXXX(_("message"))<br></div><div>- raise webob.exc.HTTPXXX(detail=_("message"))<br><br>should be replaced with raise webob.exc.HTTPXXX(explanation=_("message"))<br><br></div>
<div>What your opinion?<br><br></div><div>Thanks<br></div><div><div><br>-- <br><div dir="ltr"><div>blog: <a href="http://zqfan.github.com" target="_blank">zqfan.github.com</a><br></div>git: <a href="http://github.com/zqfan" target="_blank">github.com/zqfan</a><br>
</div>
</div></div></div></div>