Difference between revisions of "Curl -Is"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  [[curl -I]]s https://yourdomain.com/ | [[head -1]]
 
  [[curl -I]]s https://yourdomain.com/ | [[head -1]]
  HTTP/1.1 [[301]] [[Moved Permanentl]]
+
  [[HTTP/1.1]] [[301]] [[Moved Permanentl]]
 +
 
 +
[[curl]] -Is https://google.com | head -1
 +
[[HTTP/2]] 301
  
  

Revision as of 05:21, 24 August 2022

Advertising: