mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Shut up spiffs. Proper DAV report
PUBLISHED_FROM=125379f6c624b4e938b5d543cb8ed5fe906de98f
This commit is contained in:
parent
02f6867a2f
commit
5bd59c7b70
@ -6240,10 +6240,9 @@ static void mg_send_digest_auth_request(struct mg_connection *c,
|
||||
|
||||
static void send_options(struct mg_connection *nc) {
|
||||
mg_printf(nc, "%s",
|
||||
"HTTP/1.1 200 OK\r\nAllow: GET, POST, HEAD, CONNECT, PUT, "
|
||||
"DELETE, OPTIONS, MKCOL"
|
||||
"HTTP/1.1 200 OK\r\nAllow: GET, POST, HEAD, CONNECT, OPTIONS"
|
||||
#ifndef MG_DISABLE_DAV
|
||||
", PROPFIND \r\nDAV: 1"
|
||||
", MKCOL, PUT, DELETE, PROPFIND, MOVE\r\nDAV: 1,2"
|
||||
#endif
|
||||
"\r\n\r\n");
|
||||
nc->flags |= MG_F_SEND_AND_CLOSE;
|
||||
|
Loading…
Reference in New Issue
Block a user