artefactual / automation-tools

Tools to aid automation of Archivematica and AtoM.
GNU Affero General Public License v3.0
46 stars 33 forks source link

Avoid auth. concatenation in next requests #45

Closed jraddaoui closed 6 years ago

jraddaoui commented 6 years ago

We're sending the auth. parameters as part of the URL and they're being returned in the next path used for the following request, therefore, as we add them again in the next requests, they were being sent multiple times, creating long request URLs.

The auth. should be sent in the header to avoid adding sensitive data in the SS response but this commit avoids at least its duplication.

The VCR cassetes have been updated to reflect the new behaviour.

mcantelon commented 6 years ago

👍