- 
                Notifications
    You must be signed in to change notification settings 
- Fork 474
Description
Hello,
As the title says, when building an HAL-FORMS affordance, the http method is spelled in lowercase. This is done here :
spring-hateoas/src/main/java/org/springframework/hateoas/mediatype/hal/forms/HalFormsTemplate.java
Line 133 in 2751b11
| return this.httpMethod == null ? null : this.httpMethod.toString().toLowerCase(); | 
I noticed it while using a 'patch' request which actually resulted in a bad request from the reverse proxy I was requesting, while the same request with 'PATCH' was working fine. Addressing my tomcat directly worked either way though.
After looking around a bit, it does seem that the RFC requires case sensitive naming: https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1 .
If we want to be sure it is supported everywhere, should we change the current behaviour in favour of using uppercase for the method ?
Thank you for your time