Support for HTTP verb tunnelling is essential because client libraries may not support PATCH

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • V4.0_WD01
    • Affects Version/s: V4.0_WD01
    • Component/s: Protocol
    • None
    • Hide

      Require services to support HTTP verbs other than GET and POST to be tunnelled inside a POST using the X-HTTP-Method header.

      Show
      Require services to support HTTP verbs other than GET and POST to be tunnelled inside a POST using the X-HTTP-Method header.

      Some client libraries (e.g. HttpURLConnection in JDK 1.7) don't support PATCH, e.g. see this stack trace:

      java.net.ProtocolException: Invalid HTTP method: PATCH
      at java.net.HttpURLConnection.setRequestMethod(HttpURLConnection.java:428)

      To ensure maximum interoperability with clients (and not force clients to use PUT rather than PATCH), we should require OData services to support HTTP verb tunnelling.

      See X-HTTP-Method in http://msdn.microsoft.com/en-us/library/dd541471.aspx

            Assignee:
            Unassigned
            Reporter:
            evan.ireland.2
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: