Bad Accept header results in internal server error #66
Closed
opened 3 years ago by electricdusk
·
2 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. 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.