55 * http_status_message from Open Webserver (frame/http.cpp) |
55 * http_status_message from Open Webserver (frame/http.cpp) |
56 * TODO: replace, use sstr_t |
56 * TODO: replace, use sstr_t |
57 */ |
57 */ |
58 NSAPI_PUBLIC const char * protocol_status_message (int code) |
58 NSAPI_PUBLIC const char * protocol_status_message (int code) |
59 { |
59 { |
|
60 WS_ASSERT(code > 0); |
|
61 |
60 const char *r; |
62 const char *r; |
61 |
63 |
62 switch (code) |
64 switch (code) |
63 { |
65 { |
64 case PROTOCOL_CONTINUE : // 100 |
66 case PROTOCOL_CONTINUE : // 100 |