Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
5bd59c7b
Commit
5bd59c7b
authored
Dec 10, 2015
by
Sergey Lyubka
Committed by
rojer
Dec 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shut up spiffs. Proper DAV report
PUBLISHED_FROM=125379f6c624b4e938b5d543cb8ed5fe906de98f
parent
02f6867a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mongoose.c
mongoose.c
+2
-3
No files found.
mongoose.c
View file @
5bd59c7b
...
@@ -6240,10 +6240,9 @@ static void mg_send_digest_auth_request(struct mg_connection *c,
...
@@ -6240,10 +6240,9 @@ static void mg_send_digest_auth_request(struct mg_connection *c,
static
void
send_options
(
struct
mg_connection
*
nc
)
{
static
void
send_options
(
struct
mg_connection
*
nc
)
{
mg_printf
(
nc
,
"%s"
,
mg_printf
(
nc
,
"%s"
,
"HTTP/1.1 200 OK
\r\n
Allow: GET, POST, HEAD, CONNECT, PUT, "
"HTTP/1.1 200 OK
\r\n
Allow: GET, POST, HEAD, CONNECT, OPTIONS"
"DELETE, OPTIONS, MKCOL"
#ifndef MG_DISABLE_DAV
#ifndef MG_DISABLE_DAV
",
PROPFIND
\r\n
DAV: 1
"
",
MKCOL, PUT, DELETE, PROPFIND, MOVE
\r\n
DAV: 1,2
"
#endif
#endif
"
\r\n\r\n
"
);
"
\r\n\r\n
"
);
nc
->
flags
|=
MG_F_SEND_AND_CLOSE
;
nc
->
flags
|=
MG_F_SEND_AND_CLOSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment