DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24005>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24005 various issues with values of live properties Summary: various issues with values of live properties Product: Tomcat 4 Version: 4.1.27 Platform: Other URL: http://greenbytes.de/tech/webdav/rfc2518.html#rfc.sectio n.13 OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Servlets:WebDAV AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Consider a plain text file that responds to HEAD with: 200 ETag: W/"66-1066832095456" Last-Modified: Wed, 22 Oct 2003 14:14:55 GMT Content-Type: text/plain Content-Length: 66 Date: Wed, 22 Oct 2003 14:16:44 GMT Server: Apache Coyote/1.0 However PROPFIND returns: 1) <getcontentlanguage>de_DE</getcontentlanguage> 2) <getcontenttype>null</getcontenttype> 3) <getetag>66-1066832095456</getetag> Re 1) If the content language is unknown, the DAV:getcontentlaguage header should not be present. That's better than defaulting to a value which will be wrong in many cases. Re 2) If the content type is unknown, don't return the property. However, in this case it seems that the server knows it (see HEAD response), thus the property value should be the same. Re 3) RFC2518 says that the value of DAV:getetag should be whatever GET/HEAD return -- in this case quoting and the weakness indicator ('W/') are missing. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
