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
Post a Comment