summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-02-15 10:41:30 -0500
committerDan Prince <dprince@redhat.com>2013-02-22 12:21:51 -0500
commit20fb97df97cdfcbc1d98a0b1f7d94806d996e274 (patch)
treedc093ae87e8c16d52f915e5c7162dc8718da22f4 /nova/utils.py
parenta42845e455c74f41852babbbd09a3514021ea71d (diff)
downloadnova-20fb97df97cdfcbc1d98a0b1f7d94806d996e274.tar.gz
nova-20fb97df97cdfcbc1d98a0b1f7d94806d996e274.tar.xz
nova-20fb97df97cdfcbc1d98a0b1f7d94806d996e274.zip
Updates to OSAPI sizelimit middleware.
Updates the OSAPI sizelimit middleware so that we use avoid calling len on a request body which could cause a really large request to get buffered into memory. Also updates the middleware to return HTTP 413 which is a more correct error code in this case (previously it returned just 400). Fixes LP Bug #1131857. Change-Id: Id8bc5eeb0fba9482809edd12543a75163e1227e9
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions