Return an ETag on source GET and HEAD
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
Research direction
Start from the source GET and HEAD handlers in da-admin, then compare them with the conditional GET and PUT paths that already produce and accept an ETag. Check where Access-Control-Expose-Headers is set so the ETag remains exposed. Done means every successful plain GET and HEAD returns the storage ETag that a following conditional PUT accepts.
Written by the indexing model from the issue text.
Description
Plain GET and HEAD return no ETag; only conditional GET and PUT do. Clients can't learn the current ETag without a write or a guess. Some tools compute it as the MD5 of the body, which only works while that stays true.
Change
- Return the storage ETag on every successful GET and HEAD of a source: the same value a following conditional PUT accepts.
- Keep it in
Access-Control-Expose-Headers.
Useful for da-collab — stop an open editor from overwriting outside writes.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 18
- Avg merge
- 5h 12m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from adobe/da-admin
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
adobe/da-admin#305 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
Queued deferred selectors still run after unmountPossibly taken @LexaTang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ianstormtaylor/slate#6375 ·
Maintainers usually reply within 1 day
-
sync cache dist/imgOpen
Difficulty 1/5 Under an hour Newbie friendliness 82/100
oleeskild/digitalgarden#435 ·
-
broken-links
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ShaftHQ/shafthq.github.io#1201 ·
Maintainers usually reply within 1 day