WireCloud should not respond with a 500 error code response when a suspicious operation exception is raised (e.g. when a requests with an invalid HOST header arrives the service). Instead it should return a 400 error code response. This fix should be available when using Django 1.7-1.9 (Django 1.6 automatically uses a 500 error response, so we cannot fix it).
Also would be great to document how to silence a particular type of SuspiciousOperation. See the Django documentation for more info.
WireCloud should not respond with a 500 error code response when a suspicious operation exception is raised (e.g. when a requests with an invalid HOST header arrives the service). Instead it should return a 400 error code response. This fix should be available when using Django 1.7-1.9 (Django 1.6 automatically uses a 500 error response, so we cannot fix it).
Also would be great to document how to silence a particular type of SuspiciousOperation. See the Django documentation for more info.