haskell-servant / haskell-servant/servant

VerbNoContent should allow status codes to be set not hardcode to 204

Open
#1,532 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

e.g. 301, 302, 303 are perfectly valid status codes for a Get with No Content. e.g. when implementing redirects

Contributor guide

Open the contributing guide

Research direction

Start by locating the VerbNoContent implementation and any tests covering its status code behavior. Confirm how status codes are currently selected, then verify that callers can use codes such as 301, 302, and 303 for no-content GET responses, including redirects.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.