Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      There is AFAICT currently no standard way to associate a MIME type with
      attachments. This is needed for CouchDB to be able to serve the attachment
      with the correct Content-Type header.

      There's already a type field in the attachment JSON structure, which I'd
      suggest should be renamed to encoding, as it's intended to determine how
      the content has been encoded in the JSON data (for example "base64"). With
      that out of the way, the type field should contain the MIME type. When an
      attachment is added, the client should be able to specify the MIME type
      using this field, but CouchDB could use a sane default
      ("application/octet-stream") if the field is missing.

        Activity

        Noah Slater created issue -
        Christopher Lenz made changes -
        Field Original Value New Value
        Component/s Database Core [ 12312233 ]
        Christopher Lenz made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Sam Bisbee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Noah Slater
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development