View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001528 | SOGo | Backend Calendar | public | 2011-12-07 08:26 | 2011-12-07 14:26 |
Reporter | gazda | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | no change required | ||
Product Version | 1.3.9 | ||||
Summary | 0001528: GET on existing calendar returns HTTP 501 while advertised in the allowed methods with OPTIONS | ||||
Description | As discussed in https://sourceforge.net/projects/ical4j/forums/forum/368291/topic/4855559 As a matter of fact, the RFC does not seem to stipulate how the existence of a collection should be tested. However there came an advice from the ietf-caldav mailing list to use PROPFIND for that purpose. ical4j will probably be patched accordingly. Anyway, SOGO should not reply GET requests to existing calendars with 501. It either should not advertise its support for GET in OPTIONS or it should reply with 20x. Just for completeness: the requests for non-existing calendars are as expected: SOGo returns 404 for all of PROPFIND, OPTIONS and GET. Steps to reproduce: (1) OPTIONS request for an existing calendar (2) GET for an existing calendar < HTTP/1.1 501 Request failed | ||||
Tags | No tags attached. | ||||
This is not a bug. DAV does not specify anything with regards to "GET" on collections. The bug is in your client library. OPTIONS and PROPFIND are indeed good method to use to test for the validity of a collection. 501 seems to be a good response code for that case, even though 405 might be a better one. |
|
I am going to modify the title of this bug report as it should indeed not return "GET" in the "OPTIONS" response. |
|
OK |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-07 08:26 | gazda | New Issue | |
2011-12-07 14:17 |
|
Note Added: 0003130 | |
2011-12-07 14:17 |
|
Status | new => closed |
2011-12-07 14:17 |
|
Resolution | open => no change required |
2011-12-07 14:21 |
|
Note Added: 0003131 | |
2011-12-07 14:21 |
|
Status | closed => new |
2011-12-07 14:21 |
|
Summary | GET on existing calendar returns HTTP 501 => GET on existing calendar returns HTTP 501 while advertised in the allowed methods with OPTIONS |
2011-12-07 14:26 | gazda | Note Added: 0003132 |