Announcement Announcement Module
Collapse
No announcement yet.
Support for PATCH HTTP method? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Support for PATCH HTTP method?

    I noticed that in the security XML config you cannot put "PATCH" as the HTTP method (just the regular POST, GET, PUT, DELETE), etc.

    Code:
    <intercept-url pattern="/**" access="ROLE_UPDATE" method="PATCH"/>
    Are there any plans to allow the new PATCH method in the XML schema?

    RoR has already moved to PATCH as their primary HTTP method for update operations:
    http://weblog.rubyonrails.org/2012/2...d-for-updates/

    and it is trivial to add PATCH support to JAX-RS as well:

    Code:
    @Target({ ElementType.METHOD })
    @Retention(RetentionPolicy.RUNTIME)
    @HttpMethod("PATCH")
    public @interface PATCH {}

  • #2
    This is not currently supported. Please create a JIRA if you would like to see this feature.

    Comment

    Working...
    X