Fixed variable length HTTP GET error introduced in the previous commit