You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
twisted.web.client.ContentDecoderAgent's docstring doesn't document the type of the decoders parameter, and the example it gives --- (('gzip', GzipDecoder)) --- is actively misleading (should be b'gzip', wrong tuple syntax).
This verbiage is also unclear:
The name declares which decoding the decoder supports, and the decoder must return a response object when called/instantiated.
It should clarify that the decoder takes an IResponse and returns an IResponse.
The docstring should also be less ambiguous about where GzipDecoder lives.
twisted.web.client.ContentDecoderAgent
's docstring doesn't document the type of thedecoders
parameter, and the example it gives ---(('gzip', GzipDecoder))
--- is actively misleading (should beb'gzip'
, wrong tuple syntax).This verbiage is also unclear:
It should clarify that the decoder takes an
IResponse
and returns anIResponse
.The docstring should also be less ambiguous about where
GzipDecoder
lives.Searchable metadata
The text was updated successfully, but these errors were encountered: