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

Failed to download imageset zipfile, need help #216

Open
robbine opened this issue May 20, 2022 · 0 comments
Open

Failed to download imageset zipfile, need help #216

robbine opened this issue May 20, 2022 · 0 comments
Labels

Comments

@robbine
Copy link

robbine commented May 20, 2022

I tried to download a dataset using python script like this:
./imagetagger_dl_script.py 8
however response's status code was 411 after calling requests.get method.
I also print out response.request.headers ,here is the content of headers
{'User-Agent': 'python-requests/2.27.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'referer': 'http://172.31.243.123:8000/', 'Cookie': 'sessionid=fky9jdsmrbn8eokmcd04jcrwuikb1pvl', 'Content-Length': '117', 'Content-Type': 'application/x-www-form-urlencoded'}

By the way, here is my request:
GET /images/imageset/8/download/ HTTP/1.1\nUser-Agent: python-requests/2.27.1
Accept-Encoding: gzip, deflate
Accept: /
Connection: keep-alive
Referer: http://172.31.243.123:8000/
Cookie: sessionid=hueyfk68nm56mbisn34nribeajhnz0v5
Content-Length: 117
Content-Type: application/x-www-form-urlencoded
Host: 172.31.243.123:8000

@robbine robbine added the bug label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant