Change response code based on Get or Post/Put
Open
@JKRhb is already working on this.
Since Aug 16, 2023.
- Dominant language
- TypeScript
- Stars
- 552
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/coapjs/node-coap/blob/c8521c9c1f0c64b9e63965b38f0d0b91a01ffb06/lib/server.ts#L487
'2.05' is a valid response for Get and '2.01' is for Post and Put.
You may want to modify the response based on the request type.
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.
Assessment
This issue has not been assessed yet.