Breaking Change : Controlling RFC Compliance #26
dhubler
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Previously you set a global variable to put your server into strict compliance (namespaced JSON) or relaxed compliance (normal JSON)
Now, you simply pass in headers
Accept: application/yang-data+jsonand/orContent-Type: application/yang-data+jsonto get compliance and don't to get relaxed JSON.https://github.com/freeconf/restconf#compliance-with-rfc
Additionally, you can put server into mode to disallow relaxed compliance.
For notifications that use
text/event-stream, there's a URL param?simplifiedto get relaxed compliance (thinking I should have called it relaxed now)Beta Was this translation helpful? Give feedback.
All reactions