The _cat_file doesn't respect the header passed via user.
Open
Nobody has claimed this yet.
bug
enhancement
- Dominant language
- Python
- Stars
- 398
- Forks
- 181
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
The _cat_file function currently ignores headers provided by the user. While this might be intended behavior since we have not supported them historically, I believe now is a good time to add support for this use case, given that _get_file will soon depend on it.
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 _cat_file and _get_file entry points in the gcsfs source and tracing how user headers are currently handled. Confirm the expected interaction between the two functions, then use the repository's existing tests to verify that headers supplied by the user are respected and that _get_file can depend on this behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100