title: Can cURL detect 307 response?
body: <p>For my research I need to cURL the fqdns and get their status codes. (For Http, Https services) But some http urls open as https although it returns 200 with cURL. (successful request, no redirect)</p>
  <pre><code>curl -I  http://example.example.com/
  HTTP/1.1 200 OK
  Server: nginx
  Date: Mon, 22 Nov 2021 10:43:32 GMT
  Content-Type: text/html; charset=UTF-8
  Content-Length: 64991
  Connection: keep-alive
  Keep-Alive: timeout=20
  Vary: Accept-Encoding
  Expires: Thu, 19 Nov 1981 08:52:00 GMT
  Pragma: no-cache
  Link: &lt;https://example.example.com/&gt;; rel=shortlink
  X-Powered-By: WP Engine
  X-Cacheable: SHORT
  Vary: Accept-Encoding,Cookie
  Cache-Control: max-age=600, must-revalidate
  X-Cache: HIT: 10
  X-Cache-Group: normal
  Accept-Ranges: bytes
  </code></pre>
  <p>As seen above I get 200 response with curl request. But I can see the 307 code in my browser. (available in the picture below)</p>
  <pre><code>Request URL: http://example.example.com/
  Request Method: GET
  Status Code: 307 Internal Redirect
  Referrer Policy: strict-origin-when-cross-origin
  </code></pre>
  <p>Can I detect 307 code with curl? <strong>(-L parameter doesn't work)</strong> Any suggestions?</p>