Rößner-Network-Solutions

Skip to content

Refactor header table creation in request.go

Christian Rößner requested to merge features into main

The helper function 'createHeaderTable' was removed and its logic was directly embedded into 'GetAllHTTPRequestHeaders' and 'GetHTTPRequestHeader' functions. This was done to streamline code and improve readability. It enhances the way headers are processed in the original functions, removing the need for calling an extra function.

Signed-off-by: Christian Roessner c@roessner.co

Merge request reports

Loading