[Mono-bugs] [Bug 77826][Nor] Changed - SetCacheability(HttpCacheability.Server) generates "Expires" header

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 18 13:29:14 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.


--- shadow/77826	2006-03-18 12:19:30.000000000 -0500
+++ shadow/77826.tmp.31412	2006-03-18 13:29:14.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.1
 OS: All
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: robertj at gmx.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -20,6 +20,24 @@
 still outputs an Expires-header. It has to omit the header in
 this case.
 See the test case of bug #77825.
 I'm looking at this.
+------- Additional Comments From robertj at gmx.net  2006-03-18 13:29 -------
+The Cache-Control header is wrong as well. "serverandnocache" is not
+a valid value for this header. It's probably the output raw output
+of the HttpCacheability.ServerAndNoCache member. No mapping
+seems to occur.
+Respose header of the test case request:
+HTTP/1.x 200 OK
+Date: Sat, 18 Mar 2006 18:10:43 GMT
+Server: Mono.WebServer/ Unix
+Content-Length: 52
+Expires: Sat, 18 Mar 2006 18:10:53 GMT  <--- omit this
+Cache-Control: serverandnocache         <--- wrong
+Content-Type: text/html; charset=utf-8
+Connection: keep-alive

More information about the mono-bugs mailing list