Outils pour utilisateurs

Outils du site


linux:curl (lu 9275 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

linux:curl [16-04-2020 15:30]
edmc73 créée
linux:curl [16-04-2020 17:04] (Version actuelle)
edmc73
Ligne 1: Ligne 1:
 ====== Curl ====== ====== Curl ======
  
 +Voir uniquement les headers et suivre les redirections
 +
 +<code>
 +# curl -I -L https://google.fr
 +HTTP/2 301 
 +location: https://www.google.fr/
 +content-type: text/html; charset=UTF-8
 +date: Thu, 16 Apr 2020 15:02:43 GMT
 +expires: Sat, 16 May 2020 15:02:43 GMT
 +cache-control: public, max-age=2592000
 +server: gws
 +content-length: 219
 +x-xss-protection: 0
 +x-frame-options: SAMEORIGIN
 +alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,h3-T050=":443"; ma=2592000
 +
 +HTTP/2 200 
 +date: Thu, 16 Apr 2020 15:02:43 GMT
 +expires: -1
 +cache-control: private, max-age=0
 +content-type: text/html; charset=ISO-8859-1
 +p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
 +server: gws
 +x-xss-protection: 0
 +x-frame-options: SAMEORIGIN
 +set-cookie: 1P_JAR=2020-04-16-15; expires=Sat, 16-May-2020 15:02:43 GMT; path=/; domain=.google.fr; Secure
 +set-cookie: NID=202=LPunTOssuEitx5yBl338FqBlsb11Enm76igNf7VXAONFw4pR6gyKH9vjHGK7mNsF0x8pzjcEB_lwqXV9G0N1T0NpjKpFw4fjfuo4jae-vDuxLmk9Gk7CsUABKfHCrOQokTya5XvpaCWsRdHkqP6DuwC2eRHFW15TESq84pjYOR0; expires=Fri, 16-Oct-2020 15:02:43 GMT; path=/; domain=.google.fr; HttpOnly
 +alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,h3-T050=":443"; ma=2592000
 +accept-ranges: none
 +vary: Accept-Encoding
 +</code>
  
  
linux/curl.txt · Dernière modification: 16-04-2020 17:04 de edmc73