MCPcopy Index your code
hub / github.com/python/cpython / ContentTooShortError

Class ContentTooShortError

Lib/urllib/error.py:70–74  ·  view source on GitHub ↗

Exception raised when downloaded size does not match content-length.

Source from the content-addressed store, hash-verified

68
69
70class ContentTooShortError(URLError):
71 """Exception raised when downloaded size does not match content-length."""
72 def __init__(self, message, content):
73 URLError.__init__(self, message)
74 self.content = content

Callers 1

urlretrieveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…