python - Reading http responses from a stream -


this in python 2.7

i have socket receiving multiple http responses consecutively. there way read bodies of each of http responses using built-in module in python. can read responses socket , convert stream using stringio, still need separate each responses there.

i thought of using content-length header @ first, doesn't work chunked responses. before writing code handle chunked responses well, wanted know if possible using builtin module in python.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -