Every request with no body that requires body fails with 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MagnetoDB |
Triaged
|
High
|
Unassigned |
Bug Description
Each of requests which are expected to have body will fail with 500 error code, if no body is provided. Expected error code 400.
E.g.:
create table:
curl -i http://<magnetodb-
scan:
curl -i http://<magnetodb-
query:
curl -i http://<magnetodb-
put item:
curl -i http://<magnetodb-
etc
Server side trace:
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
return self._call_app(env, start_response)
File "/usr/local/
return self._app(env, _fake_start_
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
response = self.app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
action_result = self.execute_
File "/opt/stack/
return self.dispatch(
File "/opt/stack/
return method(*args, **kwargs)
File "/opt/stack/
return f(self, *args, **kwargs)
File "/opt/stack/
return f(*args, **kwargs)
TypeError: create_table() takes exactly 4 arguments (3 given)
Changed in magnetodb: | |
status: | New → Triaged |
importance: | Undecided → High |