Ability for global PRE middleware?

Is it possible to create a PRE js middleware script that applies to all API’s? For example, I’d like to add Strict-Transport-Security header to all requests. The documentation shows how to wired this up in file config per API, but is there a concept of a global PRE js middleware ability (run on all API’s)?

Thanks,
Robert

It’s not available at the moment, but it sounds like a great feature. Care to raise a request on our Github tracker?

Done, thanks, Martin. Added 1010