Today I closed a long-standing request on XRay to return the HTTP status code from the retrieved page, as well as parsing the <meta http-equiv="Status" content="410 Gone">
tag in the HTML. I also now return the final URL that XRay retrieved the document from, after following any HTTP redirects that were sent.
This means XRay can now be used to know when a previously received Webmention has been deleted, even if the source website is a static HTML file that returns HTTP 200 with a meta-equiv tag indicating the delete.
The XRay response will now include two additional keys:
url
- The effective URL that the document was retrieved from. This will be the final URL after following any redirects.code
- The HTTP response code returned by the URL.
These have both been documented in the README as well.