我收到來自服務器的使用Python中的請求包的錯誤requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
。限制請求僅請求HTTP/1.0 [防止塊錯誤]
從我的理解How to tell the HTTP server to not send chunked encoding後,解決這個問題的方法之一是告訴服務器不要發送分塊編碼,具體做法是在請求中指定HTTP/1.0
。
我該如何使用Requests包來做這件事?
可能重複[如何在請求中定義HTTP協議版本?](http://stackoverflow.com/questions/31728124/how-to-define-the-http-protocol-version-in-requests) – Anonymous