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
-
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+json
and/orContent-Type: application/yang-data+json
to 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?simplified
to get relaxed compliance (thinking I should have called it relaxed now)Beta Was this translation helpful? Give feedback.
All reactions