Ci-dessous, les différences entre deux révisions de la page.
| linux:curl [16-04-2020 13:30] – créée edmc73 | linux:curl [16-04-2020 15:04] (Version actuelle) – edmc73 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Curl ====== | ====== Curl ====== | ||
| + | Voir uniquement les headers et suivre les redirections | ||
| + | |||
| + | < | ||
| + | # curl -I -L https:// | ||
| + | HTTP/2 301 | ||
| + | location: https:// | ||
| + | content-type: | ||
| + | date: Thu, 16 Apr 2020 15:02:43 GMT | ||
| + | expires: Sat, 16 May 2020 15:02:43 GMT | ||
| + | cache-control: | ||
| + | server: gws | ||
| + | content-length: | ||
| + | x-xss-protection: | ||
| + | x-frame-options: | ||
| + | alt-svc: quic=": | ||
| + | |||
| + | HTTP/2 200 | ||
| + | date: Thu, 16 Apr 2020 15:02:43 GMT | ||
| + | expires: -1 | ||
| + | cache-control: | ||
| + | content-type: | ||
| + | p3p: CP=" | ||
| + | server: gws | ||
| + | x-xss-protection: | ||
| + | x-frame-options: | ||
| + | set-cookie: 1P_JAR=2020-04-16-15; | ||
| + | set-cookie: NID=202=LPunTOssuEitx5yBl338FqBlsb11Enm76igNf7VXAONFw4pR6gyKH9vjHGK7mNsF0x8pzjcEB_lwqXV9G0N1T0NpjKpFw4fjfuo4jae-vDuxLmk9Gk7CsUABKfHCrOQokTya5XvpaCWsRdHkqP6DuwC2eRHFW15TESq84pjYOR0; | ||
| + | alt-svc: quic=": | ||
| + | accept-ranges: | ||
| + | vary: Accept-Encoding | ||
| + | </ | ||