Skip to content

Implementation of HttpStatus as an enumeration precludes other status codes [SPR-9068] #13707

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

Closed
spring-projects-issues opened this issue Jan 29, 2012 · 2 comments
Labels
status: duplicate A duplicate of another issue

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 29, 2012

Willis Blackburn opened SPR-9068 and commented

I'm trying to implement RFC 2324 but cannot return HTTP response code 418 because it's not defined in the HttpStatus enumeration.

More generally, the enumeration of specific status values precludes the use of any others.


Affects: 3.1 GA

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 30, 2012

Chris Beams commented

Fixed in #11418.

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

If you some code you'd like to share, please do so! Spring could definitely do with a RFC 2324 implementation (aka spring-htcpcp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

1 participant