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 -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -