Skip to content

Draft: Update attachment downloader header

Carla Drago requested to merge 429840-accept-encoding-none into master

What does this MR do and why?

This adds an accept_encoding: 'none' to the headers of github import attachment download requests.

It addresses the issue of content-length not being present in the github response and consequent file size validation erroring.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #429840 (closed)

Edited by Carla Drago

Merge request reports

Loading