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

Incorrect Content-Type response header should not be a fatal error #68

Open
dsweet-mm opened this issue Feb 12, 2025 · 1 comment
Open

Comments

@dsweet-mm
Copy link

dsweet-mm commented Feb 12, 2025

Currently ~25% of IANA registered registrars and a significant number of registries cannot test for conformance at https://webrdapct.icann.org/ due to a response type of application/json instead of application/rdap+json. The error "Error code: 5 - A response was available to the tool, but the Content-Type is not application/rdap+JSON in the response." is immediately shown upon submitting an RDAP domain URL for testing.

There should be no reason this is a "fatal" error, but rather you should continue testing and roll it into the error array of the JSON results. As is, ICANN cannot get an accurate picture across-the-board of the level of industry conformance, but with this simple fix the picture would be drastically improved. Moreover, by making this error fatal, the tool is only adding barriers to progress for teams trying to comply, with no real upside.

@anewton1998
Copy link
Contributor

I agree. This and the other non-fatal errors should be rolled into regular error codes.

In the mean-time, RDAP service operators may also use rdap-test and the rdap.org validator. While these tools aren't as comprehensive as this RDAP conformance tool, they'll help identify problems without blocking on the content-type.

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

No branches or pull requests

2 participants