On Fri, 25 Oct 2002, Martin Cooper wrote:

> Date: Fri, 25 Oct 2002 18:06:31 -0700
> From: Martin Cooper <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: 'Struts Developers List' <[EMAIL PROTECTED]>
> Subject: RE: cvs commit:
>     jakarta-struts/src/share/org/apache/struts/taglib /html FormTag.java
>
> 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.
>

The value included in an HTML page (as defined in the HTML spec) has no
direct relationship with the value a browser sends on the first line of a
request (as defined in the HTTP spec).  In fact, the references to the
"get" and "post" values in the HTML spec are almost universally in lower
case.

This is not a reason to change them back (although the original upper case
values did not violate XHTML either).

> --
> Martin Cooper

Craig


--
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