Skip to content

Add reason-phrase to status case class for additional diagnostic #27

Closed
wants to merge 1 commit into from

2 participants

@rtyley
rtyley commented Oct 9, 2012

The human-readable 'reason phrase' in an HTTP response status can contain additional useful diagnostic information - so this change just exposes that message in the StatusCode exception thrown by the OK handler.

@rtyley rtyley Add reason-phrase to status case class for additional diagnostic
The human-readable 'reason phrase' in an HTTP response status can contain
additional useful diagnostic information - so this change just exposes that
message in the StatusCode exception thrown by the OK handler.
8544355
@n8han
n8han commented Oct 9, 2012

How about an object with unapply to avoid breaking the existing interface?

@n8han n8han closed this May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.