Http request helper minor improvement

Signed-off-by: Ladislav Klenovic <klenovic@nerdrobot.net>