We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is this code in place?
I don't really understand it but it is stripping out some response headers I need to inspect in the
output.file.responseHeaders object
See the screen shot below. The x-document-id header etc. is dropped.
parseResponseHeaders( httpHeaders ) { if ( !httpHeaders ) { return; } return httpHeaders.split('\n') .map((x) => x.split(/: */, 2)) .filter((x) => x[0]) .reduce( (acc, x) => { acc[x[0]] = x[1]; return acc; } , {} ); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Why is this code in place?
I don't really understand it but it is stripping out some response headers I need to inspect in the
output.file.responseHeaders object
See the screen shot below. The x-document-id header etc. is dropped.
The text was updated successfully, but these errors were encountered: