medabdellahi / google-caldav-issues

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

Support PROPFIND for <D:principal-collection-set/> #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Send a PROPFIND on the home set (i.e /dav/<username>/) with the following
query:
<D:propfind xmlns:D="DAV:">
  <D:prop>
    <D:principal-collection-set/>
  </D:prop>
</D:propfind>

What is the expected output? What do you see instead?
I'd expect the server to return the principal url inside a well-formed
response. Instead, I get a multistatus with a 404.

We use this method to get the principal since we are asking the user to
enter the collection url. Changing this on the client side would is
nontrivial and without this PROPFIND we cannot get important properties
like the inbox/outbox url automatically.

Please provide any additional information below.
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread
/ff187a2de644dfe4#

Original issue reported on code.google.com by kewi...@gmail.com on 6 Aug 2008 at 6:08

GoogleCodeExporter commented 9 years ago
In the mail you state "Btw: doing that PROPFIND on the /events/ collection 
gives me a
404 *for each event*". This sounds correct unless you specify Depth: 0 on the 
query.

Original comment by filip.na...@gmail.com on 7 Aug 2008 at 1:12

GoogleCodeExporter commented 9 years ago
Ah yes, that makes sense. Thanks for the insight!

Original comment by kewi...@gmail.com on 7 Aug 2008 at 6:23