Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:curl

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux:curl [2016/08/28 14:55] – [Ausgabe formatieren] movelinux:curl [2020/06/18 14:34] (aktuell) – [Siehe auch] move
Zeile 29: Zeile 29:
          time_total:  0.064          time_total:  0.064
 </Code> </Code>
 +
 +==== Include the HTTP-header in the output ====
 +              
 +The HTTP-header includes things like  server-name,  date  of  the  document,HTTP-version and more...
 +
 +<Code:bash>
 +me@localhost:~/Downloads$ curl -I https://heraldik-wiki.de/index.php/Hauptseite
 +HTTP/1.1 301 Moved Permanently
 +Server: nginx
 +Date: Fri, 30 Dec 2016 11:22:24 GMT
 +Content-Type: text/html; charset=utf-8
 +Content-Length: 0
 +Connection: keep-alive
 +X-Content-Type-Options: nosniff
 +Vary: Accept-Encoding, Cookie
 +Cache-Control: s-maxage=1200, must-revalidate, max-age=0
 +Last-Modified: Fri, 30 Dec 2016 11:18:56 GMT
 +Location: https://heraldik-wiki.de/wiki/Hauptseite
 +X-Varnish: 22009262 22523063
 +Age: 207
 +Via: 1.1 varnish-v4
 +Strict-Transport-Security: max-age=31536000
 +</Code>
 +
 +==== Verbose-Output ====
 +
 +<Code:bash>
 +me@localhost:~/Downloads$ curl -v https://heraldik-wiki.de/index.php/Hauptseite
 +*   Trying 138.201.32.144...
 +* TCP_NODELAY set
 +* Connected to heraldik-wiki.de (138.201.32.144) port 443 (#0)
 +* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
 +* found 696 certificates in /etc/ssl/certs
 +* ALPN, offering h2
 +* ALPN, offering http/1.1
 +* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
 +* server certificate verification OK
 +* server certificate status verification SKIPPED
 +* common name: heraldik-wiki.de (matched)
 +* server certificate expiration date OK
 +* server certificate activation date OK
 +* certificate public key: RSA
 +* certificate version: #3
 +* subject: CN=heraldik-wiki.de
 +* start date: Sat, 12 Nov 2016 20:31:00 GMT
 +* expire date: Fri, 10 Feb 2017 20:31:00 GMT
 +* issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
 +* compression: NULL
 +* ALPN, server did not agree to a protocol
 +> GET /index.php/Hauptseite HTTP/1.1
 +> Host: heraldik-wiki.de
 +> User-Agent: curl/7.51.0
 +> Accept: */*
 +
 +< HTTP/1.1 301 Moved Permanently
 +< Server: nginx
 +< Date: Fri, 30 Dec 2016 11:20:53 GMT
 +< Content-Type: text/html; charset=utf-8
 +< Content-Length: 0
 +< Connection: keep-alive
 +< X-Content-Type-Options: nosniff
 +< Vary: Accept-Encoding, Cookie
 +< Cache-Control: s-maxage=1200, must-revalidate, max-age=0
 +< Last-Modified: Fri, 30 Dec 2016 11:18:56 GMT
 +< Location: https://heraldik-wiki.de/wiki/Hauptseite
 +< X-Varnish: 20674668 22523063
 +< Age: 117
 +< Via: 1.1 varnish-v4
 +< Strict-Transport-Security: max-age=31536000
 +
 +* Curl_http_done: called premature == 0
 +* Connection #0 to host heraldik-wiki.de left intact
 +</Code>
 +
 +===== Siehe auch =====
 +
 +  * [[wget]]
 +  * [[httrack]]
 +
 +===== Weblinks =====
 +
 +  * https://curl.haxx.se
 +  * https://wiki.ubuntuusers.de/cURL
 +
linux/curl.1472396123.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki