Project

General

Profile

Actions

User story #5879

closed

User story #5809: Report metrics

Metrics script: Pass options to curl to ensure that it follows redirects and POSTs content anyway

Added by Jonathan CLARKE almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
System integration
Target version:
UX impact:
Suggestion strength:
User visibility:
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

Also available in: Atom PDF