Why was this changed? The change makes Struts break compliance with the HTTP
spec, which states:

-----
5.1.1 Method

The Method  token indicates the method to be performed on the resource
identified by the Request-URI. The method is case-sensitive.
-----

The method value for a post request is specified as "POST", not "post".

Please change this back.

--
Martin Cooper


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dgraham@;apache.org]
> Sent: Friday, October 25, 2002 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: cvs commit:
> jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java
> 
> 
> dgraham     2002/10/25 17:05:03
> 
>   Modified:    src/share/org/apache/struts/taglib/html FormTag.java
>   Log:
>   changed POST to post
>   
>   Revision  Changes    Path
>   1.29      +5 -5      
> jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
>   
>   Index: FormTag.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/ht
ml/FormTag.java,v
>   retrieving revision 1.28
>   retrieving revision 1.29
>   diff -u -r1.28 -r1.29
>   --- FormTag.java    14 Oct 2002 18:16:18 -0000      1.28
>   +++ FormTag.java    26 Oct 2002 00:05:02 -0000      1.29
>   @@ -550,7 +550,7 @@
>            results.append(beanName);
>            results.append("\"");
>            results.append(" method=\"");
>   -        results.append(method == null ? "POST" : method);
>   +        results.append(method == null ? "post" : method);
>            results.append("\" action=\"");
>            results.append(response.encodeURL(getActionMappingURL()));
>            results.append("\"");
>   
>   
>   
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to