[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dav-dev
Subject:    [dav-dev] handling of the PROPFIND method in mod_dav
From:       Olivier Dang <em8dang () etek ! chalmers ! se>
Date:       2002-04-17 16:59:44
[Download RAW message or body]

Hi,

I am trying to understand how the mod_dav handles DAV requests.
I've added some "printf" to the mod_dav and sent the following request
to the DAV server:

PROPFIND /DAV_folder HTTP/1.1
Host: myhost
Depth: 1

The "printf" commands in mod_dav indicates that the dav_handler calls
the dav_method_propfind with the request "PROPFIND /DAV_folder".
Then, somewhere during the process of the PROPFIND method,
it seems that the dav_method_propfind recursively calls the 
dav_type_checker
method with a M_GET on all the items of the /DAV_folder.

My problem is that:
- I can't find where that call to the dav_type_checker is made;
and
- I don't understand why a GET is needed on all the items of the 
/DAV_folder folder.

I hope somebody can help me understand the process of PROPFIND by mod_dav.
I think the GET is required by the PROPFIND to retrieve the metadata of 
each item
but I am not quite sure.


Thks in advance,

Olivier.


_______________________________________________
dav-dev maillist  -  dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic