UserPreferences

PaceReplaceTypeWithAccept2


Abstract

Replace the "member-type" with an "accept" attribute that specifies which types of representations are accepted by the collection.

This Pace replaces PaceReplaceTypeWithAccept.

Status

Proposal.

Rationale

For introspection, it'll be generally more important for a client to know what kinds of resources can be posted to a collection than it is for the client to know what kinds of resources are contained in the collection (which can be determined by GET'ing the membership feed).

Proposal

Modify collection element definition to

appCollection =
   element app:collection {
      appCommonAttributes,
      attribute title { text },
      attribute href { text },
      attribute accept { text }
      ( extensionElement* )
   }

Replace section 7.3.4

7.3.4 The 'accept' Attribute

The 'accept' attribute indicates the types of resources which MAY be POSTed to the Collection IRI.
Its value is a comma-separated list of media-types and media-ranges with optional parameters as
defined in section 14.1 of [RFC2616] as the field value of the accept request header.

Impacts

Notes


CategoryProposals