HTTP data server updates
Check of enable-http-data config option HTTP/2 Return 400 bad request if no path match Test: updated yang file revisions, extended restconf config with http-data
This commit is contained in:
parent
2a8cedf0c3
commit
404d05950a
10 changed files with 243 additions and 136 deletions
|
|
@ -479,8 +479,10 @@ http2_exec(restconf_conn *rc,
|
|||
if (restconf_nghttp2_path(sd) < 0)
|
||||
goto done;
|
||||
}
|
||||
else
|
||||
else{
|
||||
sd->sd_code = 400;
|
||||
; /* ignore */
|
||||
}
|
||||
/* If body, add a content-length header
|
||||
* A server MUST NOT send a Content-Length header field in any response
|
||||
* with a status code of 1xx (Informational) or 204 (No Content). A
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue