netconf-wg / restconf

9 stars 4 forks source link

mandatory encoding revisited #24

Closed abierman closed 8 years ago

abierman commented 9 years ago

The issue of XML as mandatory encoding has been raised again. The WG needs to decide if a JSON-only server is allowed

abierman commented 9 years ago

The proposed change would be to declare that a server MUST support XML or JSON. Discovery of supported encoding formats is done with the Accept header. The server returns 406 Not Acceptable if it does not support the encoding formats specified in the Accept header from the client.

abierman commented 8 years ago

closed in restconf-09