Function for HTTP reading, v/u/p modes