Header Content-Transfer-Encoding not used in HTTP

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • V4.0_ERRATA03
    • Affects Version/s: V4.0_ERRATA02
    • Component/s: Protocol
    • None
    • Environment:

      Applied

    • Hide

      In Errata, specify that:
      1) Services should not rely on the header being there in batch requests because it is expected to be made optional in V4.01.
      2) Client should not rely on the header being there in the async/batch response fosr the same reason.

      In V4.01, remove Header Field Content-Transfer-Encoding with value binary

      Show
      In Errata, specify that: 1) Services should not rely on the header being there in batch requests because it is expected to be made optional in V4.01. 2) Client should not rely on the header being there in the async/batch response fosr the same reason. In V4.01, remove Header Field Content-Transfer-Encoding with value binary
    • Show
      https://www.oasis-open.org/committees/download.php/57136/odata-v4.0-wd08-part1-protocol-2015-12-15.docx

      In V4 we use the Header Content-Transfer-Encoding:binary together with the Content-Type: application/http in batch payloads (exactly as in V3 ) and in async responses.

      In HTTP 1.1 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.1 and https://tools.ietf.org/html/rfc7230#section-8.3.2) the media type application/http is defined "...Encoding considerations: HTTP messages enclosed by this type are in "binary" format; use of an appropriate Content-Transfer-Encoding is required when transmitted via E-mail."

      And in a section about differences between HTTP and MIME entities, the spec states (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.4.5 and https://tools.ietf.org/html/rfc7231#appendix-A.5): "HTTP does not use the Content-Transfer-Encoding (CTE) field of RFC 2045. [...]"

            Assignee:
            handl
            Reporter:
            martinzurmuehl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: