Skip to content

Conversation

ararslan
Copy link
Member

@ararslan ararslan commented Dec 4, 2017

As suggested by Jarrett. Currently we give 400 for events we identify as "invalid." These have either no header or the header doesn't match one of the given event types. The former case is clearly more suited for 204: No Content. The latter case is less clear, but a client error doesn't seem appropriate. Thus this PR changes the response to 204.

@ararslan ararslan requested a review from jrevels December 4, 2017 23:30
@ararslan ararslan merged commit 42ef052 into master Dec 5, 2017
@ararslan ararslan deleted the aa/204 branch December 5, 2017 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants