parent
8b5eaa0534
commit
7cff6b0cf9
2 changed files with 5 additions and 0 deletions
|
@ -169,6 +169,9 @@ lws_add_http_header_status(struct lws *wsi, unsigned int _code,
|
|||
if (code >= 500 && code < (500 + ARRAY_SIZE(err500)))
|
||||
description = err500[code - 500];
|
||||
|
||||
if (code == 100)
|
||||
description = "Continue";
|
||||
|
||||
if (code == 200)
|
||||
description = "OK";
|
||||
|
||||
|
|
|
@ -3154,6 +3154,8 @@ lws_serve_http_file_fragment(struct lws *wsi);
|
|||
//@{
|
||||
|
||||
enum http_status {
|
||||
HTTP_STATUS_CONTINUE = 100,
|
||||
|
||||
HTTP_STATUS_OK = 200,
|
||||
HTTP_STATUS_NO_CONTENT = 204,
|
||||
HTTP_STATUS_PARTIAL_CONTENT = 206,
|
||||
|
|
Loading…
Add table
Reference in a new issue