Bad Accept header results in internal server error #66
Loading…
x
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.