[NETCONF-778] Use standard media types as specified by RFC8040 and RFC8072 Created: 20/May/21  Updated: 26/Aug/21  Resolved: 20/May/21

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Epic Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Name: Standard RFC8040/RFC8072 media types

 Description   

There are a few issues with the media types we are producing:

  • we are using application/yang.patch instead of application/yang-patch
  • we are using application/yang.patch-status instead of application/yang-data
  • we allow producing application/yang-data (without encoding)
  • we produce application/yang-data instead of yang-data+xml
  • we produce application/xrd+json instead of application/json

Make sure we produce correct types.

 


Generated at Wed Feb 07 20:15:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.