Bad Accept header results in internal server error #66
Labels
No Label
bug
feature
good-beginner-bug
needs-test
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: electricdusk/rushlink#66
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See https://hashru.link/Qd_z.
In this case, the client (presumably) provided a bad
Accept
header. In this case, rushlink should error with an400 Bad Request
error. However, it fails with an internal server error.This error seems to occur when the client's
Accept
value has a leading white space. By the spec, this should be trimmed however.However, a
media-range
value'*'
is still invalid, I think.