[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-dev
Subject: DO NOT REPLY [Bug 23497] New: -
From: bugzilla () apache ! org
Date: 2003-09-29 18:21:41
[Download RAW message or body]
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=23497>.
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=23497
GET, Cache-Control, and Microsoft
Summary: GET, Cache-Control, and Microsoft
Product: Slide
Version: Nightly
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: WebDAV Server
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: snmvaughan92@yahoo.com
I've run into some problems with Microsoft tools failing to be able to access content
accessed through a Slide server. It looks like addding the header "Cache-Control:
private" fixes the problem, and is used by other WebDAV servers. The following patch
fixes the problem.
cvs diff -u src/webdav/server/org/apache/slide/webdav/method/GetMethod.java
Index: src/webdav/server/org/apache/slide/webdav/method/GetMethod.java
===================================================================
RCS file:
/home/cvspublic/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/GetMethod.java,v
retrieving revision 1.40
diff -u -r1.40 GetMethod.java
--- src/webdav/server/org/apache/slide/webdav/method/GetMethod.java 18 Sep 2003
11:01:07 -0000 1.40
+++ src/webdav/server/org/apache/slide/webdav/method/GetMethod.java 29 Sep
2003 18:17:13 -0000
@@ -279,6 +279,8 @@
("Last-Modified",
revisionDescriptor.getLastModified().toString());
+ resp.setHeader(H_CACHE_CONTROL, "private");
+
if ( ((ranges == null) || (ranges.isEmpty()))
&& (req.getHeader("Range") == null) ) {
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic