Add optional limit on request size
Signed-off-by: Luminita Voicu <lumivo@amazon.com>
This commit is contained in:
@@ -765,7 +765,8 @@ mod tests {
|
||||
second_server_request.request,
|
||||
Request::try_from(
|
||||
b"GET /machine-config HTTP/1.1\r\n\
|
||||
Content-Type: application/json\r\n\r\n"
|
||||
Content-Type: application/json\r\n\r\n",
|
||||
None
|
||||
)
|
||||
.unwrap()
|
||||
);
|
||||
@@ -989,7 +990,8 @@ mod tests {
|
||||
second_server_request.request,
|
||||
Request::try_from(
|
||||
b"GET /machine-config HTTP/1.1\r\n\
|
||||
Content-Type: application/json\r\n\r\n"
|
||||
Content-Type: application/json\r\n\r\n",
|
||||
None
|
||||
)
|
||||
.unwrap()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user