Closed MichalHaluza closed 1 year ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
c876a49
) 100.00% compared to head (b233e50
) 100.00%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
requests module populates Session object with several default headers. The behavior in pubtools-pulpib would cause the default headers dictionary to be completely overwritten by the one passed in kwargs. This is cumbersome in cases where a developer wants to set only a single header, e.g.
User-Agent
. The new behavior ensures the default values are retained and the new values passed in kwargs only update the existing headers dictionary.