Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-593

Stream properties for JSON can indicate mediaContentType but ATOM doesn't allow it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Deferred
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: None
    • Component/s: ATOM Format
    • Labels:
      None
    • Proposal:
      Hide

      Add a new attribute metadata:content-type for atom:link.

      Show
      Add a new attribute metadata:content-type for atom:link.

      Description

      JSON format permits stream properties to optionally indicate content-type (as well as mediaEtag). So the receiver can determine the media content type without having to actually GET the stream content.

      ATOM format, on the other hand, does not permit the media content type to appear in an "atom:link". (See ATOM section 9.1 in CS02).

      It seems that this must be an accidental omission, as surely we should expect equivalent information about the stream content to be available regardless of the format (JSON or ATOM).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: