Telegraph icon indicating copy to clipboard operation
Telegraph copied to clipboard

check for rel=status in the body of webmention response

Open karadaisy opened this issue 10 years ago • 0 comments

Check the body for <link rel=status> in addition to HTTP headers

Here's example response from my site

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <h1>Webmention Received</h1>
    <p>Thanks! Ths webmention has been queued for processing.</p>
    <p>Check status: <a rel="status" href="https://kylewm.com/webmention/status/13b56ba9-ce10-4c82-9e7a-ae7eea4658a1">kylewm.com/webmention/status/13b56ba9-ce10-4c82-9e7a-ae7eea4658a1</a>.</p>
    <p><a href="/">Return to site</a>.
    </p>
  </body>
</html>

karadaisy avatar Dec 25 '15 15:12 karadaisy