Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request failed: URI too long (longer than 8190) #5

Open
recap opened this issue Mar 28, 2014 · 0 comments
Open

request failed: URI too long (longer than 8190) #5

recap opened this issue Mar 28, 2014 · 0 comments

Comments

@recap
Copy link

recap commented Mar 28, 2014

in FileWrapper.read() the file seek position is continuously reset to initial position here:

if not data or size < 0 or size >= self.file_size:
self.seek(self.initial_read_pos)

whereby httplib reads a datablock ad infinitum. This generates a long URI which is rejected by the server.

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

No branches or pull requests

1 participant