mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
Octoserve: cache-control added to javascript and json response header
This commit is contained in:
parent
681eb61e36
commit
6f08c7709a
@ -193,11 +193,15 @@ char httptxt[] =
|
||||
"\r\n";
|
||||
|
||||
char httpjava[] =
|
||||
"HTTP/1.0 200 OK\r\nConnection: close\r\nPragma: no-cache\r\n"
|
||||
"HTTP/1.0 200 OK\r\nConnection: close\r\n"
|
||||
"Pragma: no-cache\r\n"
|
||||
"Cache-Control: no-cache\r\n"
|
||||
"Content-Type: application/x-javascript\r\n\r\n";
|
||||
|
||||
char httpjson[] =
|
||||
"HTTP/1.0 200 OK\r\nConnection: close\r\nPragma: no-cache\r\n"
|
||||
"HTTP/1.0 200 OK\r\nConnection: close\r\n"
|
||||
"Pragma: no-cache\r\n"
|
||||
"Cache-Control: no-cache\r\n"
|
||||
"Content-Type: application/json\r\n\r\n";
|
||||
|
||||
#define sendstr(_fd_,...) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user