CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
`HEAD /query` answers an empty page with 404 where `POST /query` answers `200 []`
Open
Beginner friendly
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 6
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 3
Description
## Summary
`POST` requests do not support `HEAD`. `HEAD` request handling should be removed from all `POST` routes and fail into a 'wrong method' response.
Contributor guide
Research direction
Start by tracing the /query route and comparing its HEAD and POST handling, then identify the other POST routes that accept HEAD. Exercise those endpoints to confirm HEAD returns the project's wrong-method response while POST /query still returns 200 with an empty array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100