iframe custom http header

Trying to find a way to set a custom http header for an iframe.

I have the need to pass a custom http header x-custom-parameter but doesn’t appear to be an easy way. I thought maybe i could set this in the load(), but that only accepts string not an ajax request.

Any thoughts would be helpful. Thank you.

check this