commit 2a546acf22bc99c61277c370baa8a773baf3f68d
Author: Ryan Petrello <email address hidden>
Date: Sat Apr 12 08:00:33 2014 -0700
Fix a response header bug in the error middleware
Coerce the Content-Length of the custom error message to a string, not an
integer. Some pure Python WSGI servers aren't strict and violate the WSGI
specification by automatically converting the value to a string. Apache,
however, *is* strict, and considers this a 500 Internal Error
Reviewed: https:/ /review. openstack. org/126441 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=2a546acf22b c99c61277c370ba a8a773baf3f68d
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 2a546acf22bc99c 61277c370baa8a7 73baf3f68d
Author: Ryan Petrello <email address hidden>
Date: Sat Apr 12 08:00:33 2014 -0700
Fix a response header bug in the error middleware
Coerce the Content-Length of the custom error message to a string, not an
integer. Some pure Python WSGI servers aren't strict and violate the WSGI
specification by automatically converting the value to a string. Apache,
however, *is* strict, and considers this a 500 Internal Error
Fixes bug 1306963
Change-Id: I9b82ceee096b00 c21c3b230dc6770 1bc40629968 6000dd29b942635 8efb7713f7)
(cherry picked from commit 381d9ba941e9338