observe_rsc_import_fetch_result/3

Enrich the decoded resource-export envelope with import metadata. The response headers belong to final_url, after any redirects. Return the updated envelope.

Type:

foldl

#rsc_import_fetch_result{} properties:

  • uri: binary() | string() — the requested resource URI.
  • final_url: string() — the final response URL.
  • headers: [{string(), string()}] — response headers, defaulting to [].

Edit on GitHub

Observed by

Modules

mod_websub

WebSub resource synchronization, following https://www.w3.org/TR/websub/.