##// END OF EJS Templates
Force validate file size on sync
Bohdan Horbeshko -
r2145:c3a97d51 lite
parent child Browse files
Show More
@@ -38,7 +38,7 b' class Downloader:'
38 return None
38 return None
39
39
40 length_header = response_head.headers.get(HEADER_CONTENT_LENGTH)
40 length_header = response_head.headers.get(HEADER_CONTENT_LENGTH)
41 if validate and length_header:
41 if length_header:
42 length = int(length_header)
42 length = int(length_header)
43 validate_file_size(length)
43 validate_file_size(length)
44 # Get the actual content into memory
44 # Get the actual content into memory
General Comments 0
You need to be logged in to leave comments. Login now