Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11968

Deprecate application/octet-stream encoding parameter in REST API

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.0.CR1
    • REST
    • None

    Description

      The REST API allows a client to encode application/octet-stream keys and values either in BASE64 or in an ad-hoc hex format, depending on the value of the encoding parameter.

      REST, being based on HTTP, offers a more natural encoding of application/octet-stream:

      • In the URI, the keys should be percent-encoded
      • Even when listing the keys in the cache, and the keys appear in the body, it might be a good idea to list the keys as relative URIs (therefore percent-encoded)
      • The values only appear in the request/response body, so they should not be encoded at all

      Attachments

        Activity

          People

            Unassigned Unassigned
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: