Get all headers from Response and return in following Request?


I have a call that appears to be failing (with a 506 error) because the Response headers from my previous call are not being returned to the server in my follow-up request. How can I get all of these headers manually and repost them to the server as part of my followup call?


Looks like responses have a public headers property.