Project

General

Profile

Actions

Bug #3863

closed

nfd-status-http-server: HTTP status 200 when NFD is not running

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tools
Target version:
Start date:
11/23/2016
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Steps to reproduce:

  1. nfd-stop
  2. nfd-status-http-server
  3. 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.

Actions

Also available in: Atom PDF