Solum api hangs on non GET root requests
Bug #1367470 reported by
Dimitry Ushakov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Solum api hangs on the following requests:
POST /
PUT /
HEAD /
PATCH /
DELETE /
GET / correctly responds with platform information. Solum should respond with a 405 (method not allowed) for other methods instead of hanging and taking up a socket.
Changed in solum: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think solum was expecting a body of a POST.
vagrant@ devstack: /opt/stack/ solum$ curl -i -d '' -X POST http:// 10.0.2. 15:9777/
HTTP/1.0 200 OK
Date: Wed, 10 Sep 2014 20:28:38 GMT
Server: WSGIServer/0.1 Python/2.7.3
Content-Length: 104
Content-Type: application/json; charset=UTF-8
[{"status": "CURRENT", "link": {"target_name": "v1", "href": "http:// 10.0.2. 15:9777/ v1"}, "id": "v1.0"}]