Restconf: Support for list of media in Accept:

Restconf: Better RFC compliance with Accept errors: 406 vs 415
Fixed: [RESTCONF exit on cert error + complex accept](https://github.com/clicon/clixon/issues/551)
This commit is contained in:
Olof hagsand 2024-09-02 11:20:13 +02:00
parent 19c11eabb7
commit c1ea72bcb3
14 changed files with 173 additions and 80 deletions

View file

@ -1577,9 +1577,10 @@ upgrade_callback_call(clixon_handle h,
goto done;
}
/* Authentication type
/*! Authentication type
*
* @see http-auth-type in clixon-restconf.yang
* @see restconf_media_str2int
* @see clixon_auth_type_str2int
*/
static const map_str2int clixon_auth_type[] = {
{"none", CLIXON_AUTH_NONE},