medabdellahi / google-caldav-issues

Automatically exported from code.google.com/p/google-caldav-issues
0 stars 0 forks source link

Support WebDAV OPTIONS query #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send a HTTP OPTIONS query

What is the expected output? What do you see instead?
According to [1] I'd expect a response with a DAV: header that tells about
the supported DAV versions and any extensions. Most importantly,
calendar-scheduling should be advertised, see [2] for an example from the
scheduling specs.

Instead, I get a 405 Method not allowed response

Please provide any additional information below.

[1] http://www.webdav.org/specs/rfc2518.html#HEADER_DAV
[2] http://tools.ietf.org/html/draft-desruisseaux-caldav-sched-03#section-3

Original issue reported on code.google.com by kewi...@gmail.com on 31 Jul 2008 at 5:37

GoogleCodeExporter commented 9 years ago
I think the missing OPTIONS support is also what makes Cadaver refuse to work.

Anyways, technically you may not report CalDAV or even CalDAV scheduling 
support in
the DAV header unless you fully implement the RFC! (obviously impossible in the 
real
world ;-)

To reproduce:
  curl --request OPTIONS \
    --user "USER:pwd" \
    "https://www.google.com/calendar/dav/USER/events/"

Original comment by helge.h...@googlemail.com on 31 Jul 2008 at 6:17

GoogleCodeExporter commented 9 years ago
Can I second a request for this feature please?
Be nice not to have to write 'google specific' code in my client...
Thanks

Original comment by themissi...@gmail.com on 2 Sep 2008 at 9:01

GoogleCodeExporter commented 9 years ago
This was fixed, current reply:

HTTP/1.1 200 OK
DAV: 1, calendar-access, calendar-schedule
Allow: OPTIONS, PROPFIND, HEAD, GET, REPORT, PROPPATCH, PUT, DELETE, POST
Date: Wed, 10 Dec 2008 10:21:14 GMT
X-Content-Type-Options: nosniff
Expires: Wed, 10 Dec 2008 10:21:14 GMT
Cache-Control: private, max-age=0
Content-Length: 0
Content-Type: text/html
Server: GFE/1.3

Thanks a bunch!

Original comment by kewi...@gmail.com on 10 Dec 2008 at 10:22