poosh-plugin-header-location-from-html
Poosh plugin that generates location HTTP headers from HTML content
Sample
With the following options:
{ plugins: ["header-location-from-html"], each: [{ match : "**/*.html", headers : { location: { fromContent: true } } }]}
A local file looking like that:
Will be uploaded with a location
HTTP header set to http://mysite.tld/posts/my-original-url
.