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
The "type" attribute of a link object is a hint as to the content type of a response got by requesting the link URL. Modify net.apnic.rdap.conformance.test.common.Link so that it accepts an optional content type in its constructor and checks that the response's content type matches. Since the context object supports alternative accept content types, Link will probably have to makes its own copy of the context for this to work correctly. A response that doesn't match the expected content type should only yield a warning.
The text was updated successfully, but these errors were encountered:
The "type" attribute of a link object is a hint as to the content type of a response got by requesting the link URL. Modify net.apnic.rdap.conformance.test.common.Link so that it accepts an optional content type in its constructor and checks that the response's content type matches. Since the context object supports alternative accept content types, Link will probably have to makes its own copy of the context for this to work correctly. A response that doesn't match the expected content type should only yield a warning.
The text was updated successfully, but these errors were encountered: