summaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/resources/test_handlers.py
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-08-27 12:15:49 +0300
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-08-27 12:22:52 +0300
commit110806aee13cc125fa38ff528e80570196de4a22 (patch)
treef4d1523b15bd90bb9143074dc3a024b07ccb873d /opnfv_testapi/resources/test_handlers.py
parenta3d5e939c9fef190f34a60a6ea6c378f9b97ce44 (diff)
Homogenize file size error from nginx with python errors
JIRA: DOVETAIL-732 This patch homogenize error received from nginx when a file is bigger than the limit set with python errors. It tells nginx to convert error 413 to 200 and respond with a json, like python does when validating the file. As a result, the error is shown in the pop up as it should be. Change-Id: I3218516073f848321af02465c5d608ef54d5b715 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to 'opnfv_testapi/resources/test_handlers.py')
0 files changed, 0 insertions, 0 deletions