Now server returns 404 (not found) for invalid input.