Re: [PATCH 2/3] uclient-fetch: Simplify uclient_request_supports_body()

2023-04-07 Thread Elliott Mitchell
On Fri, Apr 07, 2023 at 12:39:08AM +0300, Sergey Ponomarev wrote: > Only GET and HEAD shouldn't have a body > > Signed-off-by: Sergey Ponomarev Still kind of on the short side. Also doesn't exactly describe what the patch is doing. > @@ -292,14 +292,7 @@ static void uclient_http_process_header

[PATCH 2/3] uclient-fetch: Simplify uclient_request_supports_body()

2023-04-06 Thread Sergey Ponomarev
Only GET and HEAD shouldn't have a body Signed-off-by: Sergey Ponomarev --- uclient-http.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/uclient-http.c b/uclient-http.c index 80d4495..02bb7c2 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -292,14 +292,7 @@ stat