Chlins Zhang cc5a0258b2
fix: revise the body wrapper to handle empty body case (#5102)
Fix the router.go serverHttp method, wrap the body if the request body
is empty, which can avoid panic when calling the CopyBody method.

Signed-off-by: chlins <chenyuzh@vmware.com>

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-22 16:28:00 +08:00
..
2020-12-14 11:12:00 +08:00
2020-12-14 12:34:55 +08:00
2021-09-03 11:40:13 +08:00
2021-11-29 21:29:29 +08:00
2021-08-02 00:01:48 +08:00
2021-08-10 23:27:06 +08:00
2021-08-10 23:27:06 +08:00
2021-11-29 21:29:29 +08:00
2020-10-08 18:29:36 +08:00
2021-05-19 22:28:05 +08:00
2021-09-03 11:40:13 +08:00
2020-12-14 11:12:00 +08:00
2021-08-04 22:59:04 +08:00
2021-01-03 22:00:47 +08:00
2020-12-14 12:34:55 +08:00
2021-06-07 19:03:40 +08:00
2021-09-03 11:40:13 +08:00
2020-12-13 23:09:19 +08:00
2020-10-08 18:29:36 +08:00
2021-11-29 21:29:29 +08:00
2022-04-29 11:45:50 +08:00
2021-08-04 21:47:47 +08:00
2020-10-08 18:29:36 +08:00
2021-09-03 11:40:13 +08:00
2022-05-29 07:54:48 +08:00
2022-05-29 07:54:48 +08:00