diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2011-01-03 21:32:46 +0100 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2011-01-03 21:40:39 +0100 |
commit | 29114abe1f601620a26d0d2170065ba86f9332d2 (patch) | |
tree | 62696a4dcc658927a782d26fb2d64e6194a03b03 /debian | |
parent | 0dea4e939c99d9632a38c4c32a524b176b7f1b26 (diff) |
syncevo-http-server: a POST with invalid session ID did not result in 404 error
The code which was meant to raise the 404 error used the wrong
exception name and thus produced a Python exception instead, which
translated into an internal server error. Raising an exception
was not the right way to produce a 404 reply.
Replaced with a combination of setResponseCode() and writing a fixed
HTML response. Purely cosmetical, did not have an effect in practice.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions