I would like to be able to fetch the location header from the server-side with getResponseHeader somehow in a first step
I don't want to modify it or do anything dodgy with it, but merely update the currentURL of the plugin dynamically after the return of e.g. an Ajax POST.