Support HEAD method in get_archive method
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
In order to avoid retrieving useless data from the server, when the only need is to get stats about a given file/directory, it might be interesting to use only a HEAD http verb instead of a GET.
It seems that HEAD verb is not supported yet in the core of docker-py.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the get_archive entry point in the Python library and trace how its HTTP request is constructed. Check how request methods are selected, then verify that using HEAD for file or directory statistics avoids retrieving the archive data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100