lib: change http client path assignment
Created by: ghost
changed path assignment in http client lib from let
to const
(it's more appropriate in this case).
I addition to that, since the inner condition is the only referencing the variable, moved the assignment to the inner condition
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines