Actions
User story #5879
closedUser story #5809: Report metrics
Metrics script: Pass options to curl to ensure that it follows redirects and POSTs content anyway
Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
System integration
Target version:
Effort required:
Name check:
Fix check:
Regression:
Description
By default, curl will not follow redirects, and even when told to with -L, it will replace a POST request by a GET request.
This is not what we want, since we want to be able to POST to a well-known URL, then adapt handling of the request to get it to wherever we actually want it.
Therefore, we want to add options -L --post301 --post302 to the curl call in the anonymous metrics script from #5809.
Actions