Skip to content
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

feat: add 402 Payment Required status code #15478

Closed
wants to merge 1 commit into from

Conversation

dijonkitchen
Copy link

@dijonkitchen dijonkitchen commented Mar 22, 2022

Summary

Add missing 402 HTTP status code reserved for future use.

Test results and supporting details

It already has an MDN page: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402

Related issues

N/A

@github-actions github-actions bot added the data:http 🚠 Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP label Mar 22, 2022
@queengooborg
Copy link
Collaborator

Hi there, thank you for your PR, and welcome to BCD!

We're currently still debating on whether or not we want to allow for all-false rows (including all-null ones) in #10619. For the time being, I'm going to mark this as "not ready" until we come to a decision there. Thank you in advance for understanding!

@queengooborg queengooborg added the not ready ⛔ This is not yet ready to be merged. It's pending a decision, other PR, or a prerequisite action. label Mar 27, 2022
@dijonkitchen
Copy link
Author

Thanks, I think it's the only missing code, so I figured it'd be good to have it for completeness.

@queengooborg
Copy link
Collaborator

Hey again, thank you for your patience on this! We have decided not to include features that have no compatibility in BCD. A spec may implement a feature, but then rename or remove it before any browsers implement it, thus leaving a leftover statement in BCD.

Would you be down to research if any browsers support this feature now? If not, I'd be happy to look into it and follow up!

@dijonkitchen
Copy link
Author

It may be a bit of a chicken and the egg problem, but I haven't found references for browser support. You can give it a look.

I did find this though to support that some organizations are using it though: https://cloud.google.com/resource-manager/docs/core_errors#PAYMENT_REQUIRED

@Elchi3
Copy link
Member

Elchi3 commented Jun 9, 2023

I'm going to close this. We still have an unresolved issue/discussion for this topic. Please see #8936

@Elchi3 Elchi3 closed this Jun 9, 2023
@dijonkitchen dijonkitchen deleted the patch-1 branch June 9, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:http 🚠 Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP not ready ⛔ This is not yet ready to be merged. It's pending a decision, other PR, or a prerequisite action.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants