You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" is not realy RFC compliant.
It does not identify the actual problem, has no documentation about it.
Even not sending it at all, is more compliant than sending an irrelevant URL.
"type" (string) - A URI reference [RFC3986] that identifies the
problem type. This specification encourages that, when
dereferenced, it provide human-readable documentation for the
problem type (e.g., using HTML [W3C.REC-html5-20141028]). When
this member is not present, its value is assumed to be
"about:blank".
The text was updated successfully, but these errors were encountered:
It does not enforce to use it.
But sending irrelevant / invalid / useless response is against the point of RFC.
Not sending type is fine, sending an invalid url is not fine. HttpApiProblem::$data is private, and no way provided to remove type from it.
Bug Report
Summary
Sending
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
is not realy RFC compliant.It does not identify the actual problem, has no documentation about it.
Even not sending it at all, is more compliant than sending an irrelevant URL.
https://www.rfc-editor.org/rfc/rfc7807#section-3.1
The text was updated successfully, but these errors were encountered: