Actions
Bug #3863
closednfd-status-http-server: HTTP status 200 when NFD is not running
Start date:
11/23/2016
Due date:
% Done:
100%
Estimated time:
0.50 h
Description
Steps to reproduce:
nfd-stop
nfd-status-http-server
curl -v http://localhost:8080/
Actual: HTTP response status is 200
Expected: HTTP response status is in 5xx range
RFC2616 defines "200 OK" to mean "the request has succeeded", but this is not the case when NFD status isn't retrieved.
Updated by Junxiao Shi almost 8 years ago
I think 504 Gateway Timeout is the most suitable code, in the sense that nfd-status-http-server
acts as a proxy between NFD-Management and HTTP server.
Updated by Junxiao Shi almost 8 years ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
Updated by Junxiao Shi almost 8 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Junxiao Shi almost 8 years ago
- Status changed from Code review to Closed
Actions