Closed Johnetordoff closed 6 years ago
This seems fine to me. Only thing to be aware of is that this happens - would it be worth putting in documentation that any requests to mfr forward all headers to the third parties where the file is hosted?
After an in-person discussion with @Johnetordoff, we've decided to close this PR and continue the work in a new one. Instead of relaying all the headers/request metadata, we'll relay the important ones (referrer and request url) in specially named headers.
Ticket
SVCS-674 https://openscience.atlassian.net/browse/PLAT-709
Purpose
Currently the MFR doesn't pass any useful information about the render back to the osf. This fix in conjunction with https://github.com/CenterForOpenScience/waterbutler/pull/324 will allow osf.io to receive information more information about how a file was received for analytics purposes.
Changes
Relays MFRs Request headers to WB.
Side effects
None that I know of.