Skip to content

Standardize 404 error response for domains?name search #91

@TheRedTrainer

Description

@TheRedTrainer

Some 404 error responses for domains?name don't serve the same content. For example, the following query

http://localhost:8080/rdap-server/domains?name=*-*

provides this response:

{
 "rdapConformance": [
   "rdap_level_0"
 ],
 "errorCode": "404",
 "title": "Object not found"
}

And this query

http://localhost:8080/rdap-server/domains?name=,.

provides this response:

{
 "rdapConformance": [
   "rdap_level_0"
 ],
 "errorCode": "404",
 "title": "Object not found",
 "description": [
   "Object not found."
 ]
}

The first response includes only errorCode and title, the second response includes errorCode, title and description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions