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
Some Webmention servers return a Location header that denotes the syndicated URL of the post. It would be good to have that returned, instead of needing to parse the http_body as JSON, if available:
Leaving aside the question of whether IndieNews is doing the right thing with that Location header…
If Telegraph were to pass on the webmention endpoint’s Location header I would expect for it to be some sort of “external status” property. Because that seems closest to what it means in this context.
When Telegraph has finished sending the webmention that is only half of the webmention’s life time. If the webmention endpoint answered Telegraph with a 201 Created response it means the webmention is still not completely handled by the receiver. In this case there may be a value to the original sender to be able to check on the status at the receiver’s end.
So maybe in this case Telegraph could provide an extra key in its JSON? Something like status_page to match the name given in the Webmention spec?
If the receiver creates a status page which the sender can use to check the status, the receiver MUST reply with an HTTP 201 Created response with a Location header pointing to the status URL. The response body MAY contain content.
Some Webmention servers return a
Location
header that denotes the syndicated URL of the post. It would be good to have that returned, instead of needing to parse thehttp_body
as JSON, if available:Example of a Webmention server responding with a
Location
header:The text was updated successfully, but these errors were encountered: