- method = environ.get("REQUEST_METHOD");
- if(method == null)
- throw(new InvalidRequestException("Missing REQUEST_METHOD"));
+ {
+ String tmp = environ.get("REQUEST_METHOD");
+ if(tmp == null)
+ throw(new InvalidRequestException("Missing REQUEST_METHOD"));
+ method = tmp.toUpperCase().intern();
+ }