http: client code improvement 60/41260/11
authorMatus Fabian <[email protected]>
Fri, 12 Jul 2024 09:07:17 +0000 (11:07 +0200)
committerMatus Fabian <[email protected]>
Mon, 29 Jul 2024 12:21:12 +0000 (14:21 +0200)
commitba9ea13e260fab758c3d0c87201f33748972662d
tree15ebb1a5b11e665df36689e041e9833d50f24bc9
parentdd4356dc97c642744e3963157ca9a5a89d63ef08
http: client code improvement

Client app can sends request target, custom header and body to
HTTP layer. In response it receives all bytes as received from
transport, aditionally we provide offset and length of headers
and body.
In addtion client app is now able to receive response with all
status codes and Host header field is set in request at protocol
layer.

Type: improvement

Change-Id: I8c8e2c8f99cdf500126b7c2c722aebc254aa0d9f
Signed-off-by: Matus Fabian <[email protected]>
extras/hs-test/http_test.go
src/plugins/hs_apps/http_cli.c
src/plugins/hs_apps/http_client_cli.c
src/plugins/hs_apps/http_tps.c
src/plugins/http/http.c
src/plugins/http/http.h
src/plugins/http/http_plugin.rst
src/plugins/http/http_status_codes.h [new file with mode: 0644]
src/plugins/http_static/static_server.c