You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by da...@apache.org on 2008/06/21 02:53:24 UTC

svn commit: r670109 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java

Author: davenewton
Date: Fri Jun 20 17:53:24 2008
New Revision: 670109

URL: http://svn.apache.org/viewvc?rev=670109&view=rev
Log:
Upcased "-Disposition" as per RFC-1896/Bob's suggestion.

http://www.ietf.org/rfc/rfc1806.txt

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java?rev=670109&r1=670108&r2=670109&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java Fri Jun 20 17:53:24 2008
@@ -219,7 +219,7 @@
 
             // Set the content-disposition
             if (contentDisposition != null) {
-                oResponse.addHeader("Content-disposition", conditionalParse(contentDisposition, invocation));
+                oResponse.addHeader("Content-Disposition", conditionalParse(contentDisposition, invocation));
             }
 
             // Get the outputstream