Skip to content

Conversation

masariello
Copy link

No description provided.

…etween the open and read class, if content changes at server between the 2 class
@martindurant
Copy link
Member

I'm pretty sure this will either convert regular HTTPFiles to HTTPStreamFiles (no random access) or fail on seek(.., 2). We should have explicit checks on those conditions to be sure.

@martindurant
Copy link
Member

Indeed, this breaks a bunch of tests, like:

>       if start >= self.size or start >= end:
E       TypeError: '>=' not supported between instances of 'int' and 'NoneType'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants