mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-16 01:11:12 +00:00
Correct return code on PUT modified.
This commit is contained in:
parent
1c54c5b410
commit
50fca47f06
@ -82,4 +82,5 @@ $qry->QDo("SELECT write_sync_change( $collection_id, $response_code, :dav_name)"
|
||||
$qry = new AwlQuery('COMMIT');
|
||||
if ( !$qry->Exec('move') ) rollback(500);
|
||||
|
||||
if ( $response_code == 200 ) $response_code = 204;
|
||||
$request->DoResponse( $response_code );
|
||||
|
||||
@ -92,4 +92,5 @@ $qry->QDo("SELECT write_sync_change( $collection_id, $response_code, :dav_name)"
|
||||
|
||||
if ( !$qry->QDo('COMMIT') ) rollback(500);
|
||||
|
||||
if ( $response_code == 200 ) $response_code = 204;
|
||||
$request->DoResponse( $response_code );
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
HTTP/1.1 200 OK
|
||||
HTTP/1.1 204 No Content
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy, bind, calendar-auto-schedule
|
||||
Content-Length: 0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
HTTP/1.1 100 Continue
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
HTTP/1.1 204 No Content
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy, bind, calendar-auto-schedule
|
||||
Content-Length: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user