Adjusted content fetch to handle server prematurely closing connection (#9)
Adjusted content fetch to handle server prematurely closing connection (#9)

* Refactored logic to handle premature connection closure

* Updated to allow unicode decode

From the documentation 'If decode_unicode is True, content will be decoded using the best available encoding based on the response.'

* Re-added https verification handling

* Changed logic to re-raise request in event of ChunkedEncodingError

* Added newline

mazen160/struts-pwn