-
Notifications
You must be signed in to change notification settings - Fork 582
Stdlib::Http::Method: Add new type for http methods #1299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
db22075
to
e588a1d
Compare
i'm guessing the ci issue is unrelated? |
You can ignore mend, but I wonder why the unit test is failing. |
thanks, the failed spec test relate to |
Oh no, that's #1294. |
type Stdlib::HttpStatus = Integer[100, 599] | ||
# @deprecated Use Stdlib::Http::Status | ||
# @see Stdlib::Http::Status | ||
type Stdlib::HttpStatus = Stdlib::Http::Status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after this is merged, can you raise a new PR that removes this old type? Then we can keep it open until the next major release and won't forget it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will do, ill leave this open for now so i dont forget
This PR creates new new resources: * Stdlib::Http::Method for validating http methods * Stdlib::Http::Status This is just a copy of Stdlib::Httpstatus * make Stdlib::Httpstatus and alias to Stdlib::Http::Status Ideally we would deprecate Stdlib::Httpstatus in favour of Stdlib::Http::Status Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
e588a1d
to
89d78c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR creates new new resources:
This PR re-intorduces #1192 which i apparently nuked in #1193
Fixes #1297