We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be536de commit 11724a8Copy full SHA for 11724a8
1 file changed
common/fragment.py
@@ -133,7 +133,6 @@ def from_enc_str(
133
Create a Fragment from an encoded string as used in an HTTP header or URL parameter.
134
The format of the string is: <block_uuid>:<start_byte>:<size>
135
"""
136
- # TODO: Add expected_max_size parameter to avoid insane large sizes.
137
parts = enc_str.split(":")
138
if len(parts) != 3:
139
raise InvalidEncodedFragment(encoded_fragment=enc_str)
0 commit comments