Re: Gnome-VFS and self implemented WebDAV



Am 14.08.2003 09:58, Christophe Fergeau <teuf gnome org> schrieb:

I removed the newlines in XML. Now I get a PROPFIND with Depth: 1 after PROPFIND Depth: 0. So the first step seems to me to work.

I alsp tried to enable debugging in modules/http-method.h but I think I had no luck. I'm a very bad with C. I changed
#undef DEBUG_HTTP_ENABLE
to
#define DEBUG_HTTP_ENABLE
but I don't think debuging now works. I get the following:

Network traffic:

T 192.168.32.26:33551 -> 192.168.32.130:80 [AP]
  PROPFIND /servlet/webdav.documents/musik HTTP/1.0..Host: dev130.netline.de:
  80..Accept: */*..User-Agent: gnome-vfs/2.2.5..Content-Length: 279..Depth: 0
  ....<?xml version="1.0" encoding="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns
  :ns1000="http://services.eazel.com/namespaces";><D:prop><D:creationdate/><D:
  getcontentlength/><D:getcontenttype/><D:getlastmodified/><D:resourcetype/><
  ns1000:nautilus-treat-as-directory/></D:prop></D:propfind>
 
T 192.168.32.130:80 -> 192.168.32.26:33551 [AP]
  HTTP/1.1 401 Authorization Required..Date: Thu, 14 Aug 2003 12:32:12 GMT..S
  erver: Apache/1.3.26 (UnitedLinux) ApacheJServ/1.1.2 mod_webapp/1.2.0-dev m
  od_ssl/2.8.10 OpenSSL/0.9.6g mod_perl/1.27..WWW-Authenticate: Basic realm="
  SLOX WebDAV"..Set-Cookie: JServSessionIdroot=dpnyg402u1; path=/..Connection
  : close..Content-Type: text/html....

T 192.168.32.130:80 -> 192.168.32.26:33551 [AP]
  <html>.<head>.<title>.SLOX WebDAV.</title>.<body bgcolor="#ffffff">.<h1>Aut
  horization Required</h1>.</body>.</html>.
 
T 192.168.32.26:33552 -> 192.168.32.130:80 [AP]
  PROPFIND /servlet/webdav.documents/musik HTTP/1.0..Host: dev130.netline.de:
  80..Accept: */*..User-Agent: gnome-vfs/2.2.5..Authorization: Basic xxxxxxxxxx
  xxxxxxxx==..Content-Length: 279..Depth: 0....<?xml version="1.0" encoding
  ="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns:ns1000="http://services.eazel.c
  om/namespaces"><D:prop><D:creationdate/><D:getcontentlength/><D:getcontentt
  ype/><D:getlastmodified/><D:resourcetype/><ns1000:nautilus-treat-as-directo
  ry/></D:prop></D:propfind>

T 192.168.32.130:80 -> 192.168.32.26:33552 [AP]
  HTTP/1.1 207 Response..Date: Thu, 14 Aug 2003 12:32:29 GMT..Server: Apache/
  1.3.26 (UnitedLinux) ApacheJServ/1.1.2 mod_webapp/1.2.0-dev mod_ssl/2.8.10
  OpenSSL/0.9.6g mod_perl/1.27..Set-Cookie: JServSessionIdroot=zz2eo40321; pa
  th=/..Connection: close..Content-Type: text/xml; charset="utf-8"....
 
T 192.168.32.130:80 -> 192.168.32.26:33552 [AP]
  <?xml version="1.0" encoding="UTF-8"?>.<D:multistatus xmlns:D="DAV:"><D:res
  ponse><D:href>/servlet/webdav.documents/musik</D:href><D:propstat><D:prop><
  D:getcontenttype>httpd/unix-directory</D:getcontenttype><D:resourcetype><D:
  collection /></D:resourcetype><D:creationdate xmlns:b="urn:uuid:c2f41010-65
  b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.tz">2003-05-14T14:45:15Z</D:crea
  tiondate><D:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa0
  0c14882/" b:dt="dateTime.rfc1123">Wed, 14 May 2003 14:45:15 GMT</D:getlastm
  odified></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propst
  at><D:prop><D:getcontentlength /><ns1000:nautilus-treat-as-directory xmlns:
  ns1000="http://services.eazel.com/namespaces"; /></D:prop><D:status>HTTP/1.1
   404 Not Found</D:status></D:propstat></D:response></D:multistatus>.

T 192.168.32.26:33554 -> 192.168.32.130:80 [AP]
  PROPFIND /servlet/webdav.documents/musik HTTP/1.0..Host: dev130.netline.de:
  80..Accept: */*..User-Agent: gnome-vfs/2.2.5..Authorization: Basic xxxxxxxx
  xxxxxxxxxx==..Content-Length: 279..Depth: 1....<?xml version="1.0" encoding
  ="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns:ns1000="http://services.eazel.c
  om/namespaces"><D:prop><D:creationdate/><D:getcontentlength/><D:getcontentt
  ype/><D:getlastmodified/><D:resourcetype/><ns1000:nautilus-treat-as-directo
  ry/></D:prop></D:propfind>
 
T 192.168.32.130:80 -> 192.168.32.26:33554 [AP]
  HTTP/1.1 207 Response..Date: Thu, 14 Aug 2003 12:32:30 GMT..Server: Apache/
  1.3.26 (UnitedLinux) ApacheJServ/1.1.2 mod_webapp/1.2.0-dev mod_ssl/2.8.10
  OpenSSL/0.9.6g mod_perl/1.27..Set-Cookie: JServSessionIdroot=m0wxmb0331; pa
  th=/..Connection: close..Content-Type: text/xml; charset="utf-8"....

T 192.168.32.130:80 -> 192.168.32.26:33554 [A]
  <?xml version="1.0" encoding="UTF-8"?>.<D:multistatus xmlns:D="DAV:"><D:res
  ponse><D:href>/servlet/webdav.documents/musik/mudvayne/</D:href><D:propstat
  ><D:prop><D:getcontenttype>httpd/unix-directory</D:getcontenttype><D:resour
  cetype><D:collection /></D:resourcetype><D:creationdate xmlns:b="urn:uuid:c
  2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.tz">2003-04-23T15:40:1
  5Z</D:creationdate><D:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-
  a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Wed, 14 May 2003 14:46:31 GMT</
  D:getlastmodified></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat
  ><D:propstat><D:prop><D:getcontentlength /><ns1000:nautilus-treat-as-direct
  ory xmlns:ns1000="http://services.eazel.com/namespaces"; /></D:prop><D:statu
  s>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D
  :href>/servlet/webdav.documents/musik/disturbed/</D:href><D:propstat><D:pro
  p><D:getcontenttype>httpd/unix-directory</D:getcontenttype><D:resourcetype>
  <D:collection /></D:resourcetype><D:creationdate xmlns:b="urn:uuid:c2f41010
  -65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.tz">2003-05-14T14:53:39Z</D:c
  reationdate><D:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00
  aa00c14882/" b:dt="dateTime.rfc1123">Wed, 14 May 2003 14:53:39 GMT</D:getla
  stmodified></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:pro
  pstat><D:prop><D:getcontentlength /><ns1000:nautilus-treat-as-directory xml
  ns:ns1000="http://servi
 
T 192.168.32.130:80 -> 192.168.32.26:33554 [AP]
  ces.eazel.com/namespaces" /></D:prop><D:status>HTTP/1.1 404 Not Found</D:st
  atus></D:propstat></D:response></D:multistatus>.

I used another webdav directory to get a short directory listing.

Nautilus console messages:

marcus marcus:~$ nautilus
 
** (nautilus:10989): WARNING **: Invalid borders specified for theme pixmap:
        /home/marcus/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image
XXX - async callback invoked.
+ uri:'http://dev130.netline.de/servlet/webdav.documents/musik' is_proxy_auth: 0-
+ button: -5
+
 
** (nautilus:10989): WARNING **: Hit unhandled case 2 (Generic error) in fm_report_error_loading_directory
 
--- Hash table keys for warning below:
--> file:///home/marcus
--> http://dev130.netline.de/servlet/webdav.documents
--> file:///home
 
(nautilus:10989): Eel-WARNING **: "nautilus-metafile.c: metafiles" hash table still has 3 elements at quit time (keys above)
 
--- Hash table keys for warning below:
--> file:///home/marcus
--> http://dev130.netline.de/servlet/webdav.documents
--> file:///home
 
(nautilus:10989): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 3 elements at quit time (keys above)
 
(nautilus:10989): Bonobo-WARNING **: Leaked a total of 5 refs to 5 bonobo object(s)
marcus marcus:~$

Error Message in Nautilus:

Sorry, couldn't display all the contents of "webdav.documents".

Does somebody have an idea how to get it working?

Best regards,

Marcus Klein
-- 
Netline Internet Service GmbH
Raiffeisenstraße 12
57462 Olpe

Fon +49(0)2761-838516
Email m klein netline-is de





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]