HTTP 307 status code means a requested resource has been temporarily moved to a different location.
The new (relative) URL is indicated by a
Difference between 302 and 307
307 Temporary Redirect is similar to
302 Found in a way that they both indicate a temporary redirect. However, unlike 302, 307 doesn’t allow changing the request method from POST to GET (some user agents have been doing that). With 307, the method and request body of the previous request will be reused for the subsequent request.
307 Temporary Redirect was introduced in HTTP/1.1, while
302 Found first appeared in HTTP/1.0 (1999). If the backward compatibility with ancient clients is a consideration, use 302.
When in doubt, use 307.
Strict Transport Security (HSTS)
Strict Transport Security (HSTS) is an HTTP header protecting the website against the protocol downgrade and cookie hijacking attacks.
If you add the
preload directive to your HSTS header and submit a request to be preloaded, your domain will eventually be added to the preload list, which is shared across modern browsers.
After your domain is preloaded, whenever someone tries to access your website on http://, most modern browsers will issue an internal redirect to the https:// version of a website (with a 307 status code).