smaller proxy code with requests pipe