Simple HTTP Server with one page index.html stored inside MBED as char vector and javascript to update a table content
Fork of HTTP_SERVER by
Diff: handlers/ResponseMessenger.cpp
- Revision:
- 10:4a48594c2f44
- Parent:
- 6:4eb469f51570
- Child:
- 11:0ee7d100db24
diff -r 84aca9965f9f -r 4a48594c2f44 handlers/ResponseMessenger.cpp --- a/handlers/ResponseMessenger.cpp Tue Dec 06 07:29:01 2016 +0000 +++ b/handlers/ResponseMessenger.cpp Thu Dec 08 05:56:53 2016 +0000 @@ -46,7 +46,10 @@ "Connection", "Location", "Keep-Alive", - "Content-Type" + "Content-Type", + "Upgrade", + "Sec-WebSocket-Accept", + "Access-Control-Allow-Origin" }; bool flag = false; char header_field_line_buffer[128];