Make internal http function static