Hallo Jörg, > Follow the RFC.
will do, I am updating FILEUPLOAD-229 then will provide the fix. Alles Gute! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Mar 13, 2013 at 10:12 AM, Jörg Schaible <[email protected]> wrote: > Hi Simo, > > Simone Tripodi wrote: > >> Hi Felix! >> >>> >>> See RFC-2616 5.1.1 Method. >>> >> >> the paragraph is indeed clear about that: >> >> The Method token indicates the method to be performed on the >> resource identified by the Request-URI. The method is case-sensitive. >> >> Method = "OPTIONS" ; Section 9.2 >> | "GET" ; Section 9.3 >> | "HEAD" ; Section 9.4 >> | "POST" ; Section 9.5 >> | "PUT" ; Section 9.6 >> | "DELETE" ; Section 9.7 >> | "TRACE" ; Section 9.8 >> | "CONNECT" ; Section 9.9 >> | extension-method >> extension-method = token >> >>> So IMHO there is no need for equalsIgnoreCase or toLowerCase at all and >>> "POST".equals(...) should just do it. >>> >> >> I'm by your side, I switch my opinion to having just equals() here. >> >> What other people think? > > Follow the RFC. > > - Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
