Search completed in 1.60 seconds.
PerformanceResourceTiming.redirectStart - Web APIs
the
redirectstart read-only property returns a timestamp representing the start time of the fetch which that initiates the redirect.
... if there are http
redirects when fetching the resource and if any of the
redirects are not from the same origin as the current document, but the timing allow check algorithm passes for each redirected resource, this property returns the starting time of the fetch that initiates the redirect; otherwise, zero is returned.
... syntax resource.
redirectstart; return value a timestamp representing the start time of the fetch which initiates the redirect.
...And 2 more matches
PerformanceTiming.redirectStart - Web APIs
the legacy performancetiming.
redirectstart read-only property returns an unsigned long long representing the moment, in miliseconds since the unix epoch, the first http redirect starts.
... syntax time = performancetiming.
redirectstart; specifications specification status comment navigation timingthe definition of 'performancetiming.
redirectstart' in that specification.
Redirections in HTTP - HTTP
redirects accomplish numerous goals: temporary
redirects during site maintenance or downtime permanent
redirects to preserve existing links/bookmarks after changing the site's urls, progress pages when uploading a file, etc.
... there are several types of
redirects, sorted into three categories: permanent redirections temporary redirections special redirections permanent redirections these redirections are meant to last forever.
... special redirections 304 (not modified)
redirects a page to the locally cached copy (that was stale), and 300 (multiple choice) is a manual redirection: the body, presented by the browser as a web page, lists the possible redirections and the user clicks on one to select it.
...And 13 more matches
Index - Web APIs
3005 performancenavigation.redirectcount api, backwards compatibility, deprecated, html, navigation timing, performancenavigation, property, read-only, legacy the legacy performancenavigation.redirectcount read-only property returns an unsigned short representing the number of
redirects done before reaching the page.
... 3014 performancenavigationtiming.redirectcount api, property, reference, web performance the redirectcount property returns a timestamp representing the number of
redirects since the last non-redirect navigation under the current browsing context.
... 3040 performanceresourcetiming.
redirectstart api, property, reference, web performance the
redirectstart read-only property returns a timestamp representing the start time of the fetch which that initiates the redirect.
...And 6 more matches
HTTP Index - HTTP
responses are grouped in five classes: informational responses (100–199),successful responses (200–299),
redirects (300–399),client errors (400–499),and server errors (500–599).
...a browser
redirects to this page and search engines update their links to the resource (in 'seo-speak', it is said that the 'link-juice' is sent to the new url).
... 230 302 found http, http status code, reference,
redirects the hypertext transfer protocol (http) 302 found redirect status response code indicates that the resource requested has been temporarily moved to the url given by the location header.
...And 5 more matches
Navigation and resource timings - Web Performance
as displayed in the image below, the navigation process goes from navigationstart, unloadeventstart, unloadeventend,
redirectstart, redirectend, fetchstart, domainlookupstart, domainlookupend, connectstart , connectend, secureconnectionstart, requeststart, responsestart, responseend, domloading, dominteractive, domcontentloadedeventstart, domcontentloadedeventend, domcomplete, loadeventstart, and loadeventend.
...
redirectstart when the first http redirect starts.
... if there is no redirect, or if one of the
redirects is not of the same origin, the value returned is 0.
...And 3 more matches
nsINavHistoryQueryOptions
redirectsmode unsigned short specifies how to handle
redirects; see
redirects mode constants for details.
... the default value is
redirects_mode_all.
...
redirects mode constants constant value description
redirects_mode_all 0 include both redirected-from and redirected-to pages in the results.
...And 2 more matches
PerformanceTiming - Web APIs
if there is no previous document, or if the previous document or one of the needed
redirects is not of the same origin, the value returned is 0.
...if there is no previous document, or if the previous document, or one of the needed
redirects, is not of the same origin, the value returned is 0.
... performancetiming.
redirectstart read only when the first http redirect starts.
...And 2 more matches
Response.redirected - Web APIs
relying on redirected to filter out
redirects makes it easy for a forged redirect to prevent your content from working as expected.
...see the example disallowing
redirects, which shows this being done.
... examples detecting
redirects checking to see if the response comes from a redirected request is as simple as checking this flag on the response object.
...And 2 more matches
.htaccess ( hypertext access ) - Archive of obsolete content
the .htaccess file configures the current directory with things like password protection, url rewrites &
redirects, and more.
... common application url
redirects & rewrite: htaccess files are often used to redirect traffic to a web page to another or from traffic to a directory to another even between domains is possible.
...
redirects can be made on a temporary basis or permanently by supplying the status codes.
... errordocument 404 /notfound.html #
redirects traffic to notfound.html in case of a 404 error errordocument 500 /serverr.html #
redirects traffic to serverr.html in case of a 500 internal server error for further information see this external article: redirect your traffic for error handling.
Intercepting Page Loads - Archive of obsolete content
you have to take into account that a page load may involve several http requests, specially when
redirects are involved.
... sometimes you do not care about
redirects, and only want to detect the final page being loaded, the one holding the actual content.
...the second one is that shouldload is not invoked for
redirects.
Command line crash course - Learn web development
try it now: curl /docs/web/api/fetch we need to explicitly tell curl to follow
redirects using the -l flag.
... let's also look at the headers that developer.mozilla.org returns using curl's -i flag, and print all the location
redirects it sends to the terminal, by piping the output of curl into grep (we will ask grep to return all the lines that contain the word "location").
... try running the following, and you’ll see that in fact there are three
redirects happening before we reach the final page: curl /docs/web/api/fetch -l -i | grep location your output should look something like this (curl will first output some download counters and suchlike): location: /docs/web/api/fetch location: /docs/web/api/globalfetch/globalfetch.fetch() location: /docs/web/api/globalfetch/fetch location: /docs/web/api/windoworworkerglobalscope/fetch although contrived, we could take this result a little further and transform the location: line contents, adding the base origin to the start of each one so that we get complete urls printed out.
Using the Places history service
nsiglobalhistory3: adds extra functions for dealing with
redirects and hints for rendering (gecko flags).
...this means that one "session" is comprised of going to a new page, and following a bunch of links or
redirects.
...many pages are not visible in normal history lists, such as
redirects and sub-frame contents.this is not implemented in navhistory.
Using Navigation Timing - Web APIs
how many (if any)
redirects were required in order to complete the navigation?
...n type: "; switch(performance.navigation.type) { case performancenavigation.type_navigate: output += "navigation"; break; case performancenavigation.type_reload: output += "reload"; break; case performancenavigation.type_back_forward: output += "history"; break; default: output += "unknown"; break; } output += "<br/>
redirects: " + performance.navigation.redirectcount; document.queryselector(".output").innerhtml = output; }, false); this amends the previous example by looking at the contents of the performance.navigation object.
...we also obtain the number of
redirects that were incurred during the navigation from performance.navigation.redirectcount.
Using the Resource Timing API - Web APIs
timing resource loading phases the following example illustrates using the resource timing properties to calculate the amount of time the following phases take: redirection (
redirectstart and redirectend ), dns lookup (domainlookupstart and domainlookupend), tcp handshake (connectstart and connectend), and response (responsestart and responseend).
...resource"); if (resources === undefined || resources.length <= 0) { console.log("= calculate load times: there are no `resource` performance records"); return; } console.log("= calculate load times"); for (var i=0; i < resources.length; i++) { console.log("== resource[" + i + "] - " + resources[i].name); // redirect time var t = resources[i].redirectend - resources[i].
redirectstart; console.log("...
... the properties which are returned as 0 by default when loading a resource from a domain other than the one of the web page itself:
redirectstart, redirectend, domainlookupstart, domainlookupend, connectstart, connectend, secureconnectionstart, requeststart, and responsestart.
HTML to DOM - Archive of obsolete content
; frame.setattribute("type", "content"); frame.setattribute("collapsed", "true"); document.getelementbyid("main-window").appendchild(frame); // or // document.documentelement.appendchild(frame); // set restrictions as needed frame.webnavigation.allowauth = false; frame.webnavigation.allowimages = false; frame.webnavigation.allowjavascript = false; frame.webnavigation.allowmeta
redirects = true; frame.webnavigation.allowplugins = false; frame.webnavigation.allowsubframes = false; // listen for load frame.addeventlistener("load", function (event) { // the document of the html in the dom var doc = event.originaltarget; // skip blank page or frame if (doc.location.href == "about:blank" || doc.defaultview.frameelement) return; // do something with the dom o...
...="0"/> </vbox> then, in your extension's "load" event handler: onload: function() { donkeybrowser = document.getelementbyid("donkey-browser"); if (donkeybrowser) { donkeybrowser.style.height = "0px"; donkeybrowser.webnavigation.allowauth = true; donkeybrowser.webnavigation.allowimages = false; donkeybrowser.webnavigation.allowjavascript = false; donkeybrowser.webnavigation.allowmeta
redirects = true; donkeybrowser.webnavigation.allowplugins = false; donkeybrowser.webnavigation.allowsubframes = false; donkeybrowser.addeventlistener("domcontentloaded", function (e) { donkeyfire.donkeybrowser_onpageload(e); }, true); } with that code, we obtain a reference to the iframe element we declared in the .xul file.
Mozilla’s UAAG evaluation report
(p1) ni mozilla has no features for toggling refreshes 3.6 toggle
redirects.
... (p2) ni mozilla has no features for toggling
redirects 3.7 toggle images.
Places Developer Guide
while nsinavhistory is the main interface for history, there are a couple of other interfaces available for legacy and context-specific uses: nsibrowserhistory - detailed page addition and removal methods nsiglobalhistory2 - simple page detection and addition nsiglobalhistory3 - for adding document
redirects adding to history places provides a couple of interfaces for adding to, and editing the browsing history.
... var title = node.title; var url = node.uri; var visited = node.accesscount; var lastvisitedtimeinmicrosecs = node.time; var iconuri = node.icon; // is null if no favicon available } result.root.containeropen = false; querying history for
redirects and from_visit results of type result_type_full_visit have information about the visit, such as the referring visit, and how the transition happened (typed, redirect, link, etc).
nsIChannelEventSink
netwerk/base/public/nsichanneleventsink.idlscriptable implement this interface to gain control over various channel events, such as
redirects.
...starting in gecko 2.0, that method no longer exists, and instead the asynconchannelredirect() method is called; this uses a callback to handle
redirects asynchronously.
PerformanceNavigationTiming.redirectCount - Web APIs
the redirectcount property returns a timestamp representing the number of
redirects since the last non-redirect navigation under the current browsing context.
... syntax perfentry.redirectcount; return value a number representing the number of
redirects since the last non-redirect navigation under the current browsing context.
PerformanceResourceTiming.fetchStart - Web APIs
if there are http
redirects the property returns the time immediately before the user agent starts to fetch the final resource in the redirection.
...rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.redirectEnd - Web APIs
when fetching a resource, if there are multiple http
redirects, and any of the
redirects have an origin that is different from the current document, and the timing allow check algorithm passes for each redirected resource, this property returns the time immediately after receiving the last byte of the response of the last redirect; otherwise, zero is returned.
...rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
Resource Timing API - Web APIs
the properties which are returned as 0 by default when loading a resource from a domain other than the one of the web page itself:
redirectstart, redirectend, domainlookupstart, domainlookupend, connectstart, connectend, secureconnectionstart, requeststart, and responsestart.
...the
redirectstart and redirectend properties return timestamps for redirect start and end times, respectively.
CSP: form-action - HTTP
whether form-action should block
redirects after a form submission is debated and browser implementations of this aspect are inconsistent (e.g.
... firefox 57 doesn't block the
redirects whereas chrome 63 does).
Displaying web content in an extension without security issues - Archive of obsolete content
it won’t harm disabling everything else as well unless it is really required: frame.docshell.allowauth = false; frame.docshell.allowimages = false; frame.docshell.allowjavascript = false; frame.docshell.allowmeta
redirects = false; frame.docshell.allowplugins = false; frame.docshell.allowsubframes = false; but what about interactivity, for example if you want a certain reaction to mouse clicks?
HTTP header - MDN Web Docs Glossary: Definitions of Web-related terms
a basic request with one header: get /example.http http/1.1 host: example.com
redirects have mandatory headers (location): 302 found location: /newpage.html a typical set of headers: 304 not modified access-control-allow-origin: * age: 2318192 cache-control: public, max-age=315360000 connection: keep-alive date: mon, 18 jul 2016 16:06:00 gmt server: apache vary: accept-encoding via: 1.1 3dc30c7222755f86e824b93feb8b5b8c.cloudfront.net (cloudfront) x-amz-cf-id: tol0fem6ui4fgldrkjx...
Embedding API for Accessibility
// override popping up new windows on target=anything user_pref("browser.block.target_new_window", true); // override popup windows at beginning of new page load (blocks most popup advertisements) user_pref("dom.disable_open_during_load", true); moz 0.8 client side
redirects setboolpref("browser.accept.
redirects", accept
redirects); no content refreshes setboolpref("browser.accept.refreshes", acceptrefreshes); no plugin content setboolpref("browser.accept.plugin_content.[plugin_name_goes_here]", a...
Creating Sandboxed HTTP Connections
channel.asyncopen(listener, null); http notifications the above mentioned listener is a nsistreamlistener, which gets notified about events such as http
redirects and data availability.
Webapps.jsm
importing components.utils.import("resource://gre/modules/webapps.jsm"); // exported symbol is domapplicationregistry method overview init: function() loadcurrentregistry: function() notifyappsregistrystart: function notifyappsregistrystart() notifyappsregistryready: function notifyappsregistryready() sanitize
redirects: function sanitize
redirects(asource) _savewidgetsfullpath: function(amanifest, adestapp) appkind: function(aapp, amanifest) updatepermissionsforapp: function(aid, aispreinstalled) updateofflinecacheforapp: function(aid) installpreinstalledapp: function installpreinstalledapp(aid) removeifhttpsduplicate: function(aid) installsystemapps: function() loadandupdateapps: function() updatedatas...
Creating localizable web content
if there are alternatives, use them by adding the $lang; parameter in the urls evaluate the impact of new pages on all our web properties, especially links to community sites and
redirects.
browser.dom.window.dump.file
browser.dom.window.dump.file
redirects the ouput of window.dump() calls to a file whose address is specified in this preference if browser.dom.window.dump.enabled is set to true.
Preference reference
set it to true to enable it, or false to disable it.browser.dom.window.dump.filebrowser.dom.window.dump.file
redirects the ouput of window.dump() calls to a file whose address is specified in this preference if browser.dom.window.dump.enabled is set to true.
Rhino Debugger
console window the debugger
redirects the system.out, system.in, and system.err streams to an internal javascript console window which provides an editable command line for you to enter javascript code and view system output.
Index
388 nsichannelpolicy interfaces, interfaces:scriptable, xpcom, xpcom interface reference this interface exists to allow the content policy mechanism to function properly during channel
redirects.
imgIRequest
note that this might not be the actual uri for the image (for example if http
redirects happened during the load).
nsIChannel
this flag can be set, for example, for
redirects or for cases when a single channel has multiple parts to it (and thus can follow onstoprequest with another onstartrequest/onstoprequest pair, each pair for a different request).
nsIChannelPolicy
1.0 66 introduced gecko 2.0 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface exists to allow the content policy mechanism to function properly during channel
redirects.
nsIDocShell
allowmeta
redirects boolean attribute stating if refresh based
redirects can be allowed.
nsIHttpChannel
redirectionlimit unsigned long this attribute specifies the number of
redirects this channel is allowed to make.
nsINavHistoryService
aisredirect true if the given visit
redirects to somewhere else (that is you will create a visit out of here that is a redirect transition).
nsITraceableChannel
1.0 66 introduced gecko 1.9.0.4 inherits from: nsisupports last changed in gecko 1.9.0.4 the typical way to use this interface is as follows: register for the "http-on-examine-response" notification to track all http responses; skip
redirects (responsestatus = 3xx on nsihttpchannel), since otherwise you may end up with two listeners registered for a channel; qi the channel passed as the "subject" to your observer to nsitraceablechannel, and replace the default nsistreamlistener (that passes the data to the original requester - e.g.
nsIXULTemplateQueryProcessor
all of these uris are checked by the builder so it is safe to use them, however note that a uri that
redirects may still needs to be checked to ensure that the document containing arootnode may access it.
HTMLElement.lang - Web APIs
example // this snippet compares the base language and //
redirects to another url based on language if (document.documentelement.lang === "en") { window.location.href = "some_document.html.en"; } else if (document.documentelement.lang === "ru") { window.location.href = "some_document.html.ru"; } specification specification status comment document object model (dom) level 2 html specificationthe definition of 'lang' in that speci...
Location - Web APIs
location.replace() replaces the current resource with the one at the provided url (
redirects to the provided url).
PerformanceNavigation - Web APIs
performancenavigation.redirectcount read only an unsigned short representing the number of
redirects done before reaching the page.
PerformanceNavigationTiming - Web APIs
performancenavigationtiming.redirectcount read only a number representing the number of
redirects since the last non-redirect navigation under the current browsing context.
PerformanceResourceTiming.connectEnd - Web APIs
ents var p = performance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.connectStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.domainLookupEnd - Web APIs
ents var p = performance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.domainLookupStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.requestStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.responseEnd - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.responseStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.secureConnectionStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming.workerStart - Web APIs
rformance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { print_start_and_end_properties(p[i]); } } function print_start_and_end_properties(perfentry) { // print timestamps of the performanceentry *start and *end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "
redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart", "workerstart"]; for (var i=0; i < properties.length; i++) { // check each property var supported = properties[i] in perfentry; if (supported) { var value = perfentry[properties[i]]; console.log("...
PerformanceResourceTiming - Web APIs
performanceresourcetiming.
redirectstartread only a domhighrestimestamp that represents the start time of the fetch which initiates the redirect.
Performance API - Web APIs
the timing property returns a performancetiming object containing latency-related performance information such as the start of navigation time, start and end times for
redirects, start and end times for responses, etc.
Request.cache - Web APIs
cached
redirects will be followed if the request's redirect property is "follow" and the
redirects do not violate the "same-origin" mode.
Request - Web APIs
request.method read only contains the request's method (get, post, etc.) request.mode read only contains the mode of the request (e.g., cors, no-cors, same-origin, navigate.) request.redirect read only contains the mode for how
redirects are handled.
Writing WebSocket servers - Web APIs
note: the server can send other headers like set-cookie, or ask for authentication or
redirects via other status codes, before sending the reply handshake.
Choosing between www and non-www URLs - HTTP
using http 301
redirects in this case, you need to configure the server receiving the http requests (which is most likely the same for www and non-www urls) to respond with an adequate http 301 response to any request to the non-canonical domain.
Content Security Policy (CSP) - HTTP
a complete data transmission security strategy includes not only enforcing https for data transfer, but also marking all cookies with the secure attribute and providing automatic
redirects from http pages to their https counterparts.
Content-Security-Policy-Report-Only - HTTP
you observe how your site behaves, watching for violation reports, or malware
redirects, then choose the desired policy enforced by the content-security-policy header.
Strict-Transport-Security - HTTP
description if a website accepts a connection through http and
redirects to https, visitors may initially communicate with the non-encrypted version of the site before being redirected, if, for example, the visitor types http://www.foo.com/ or even just foo.com.
A typical HTTP session - HTTP
responses are grouped into five classes: informational responses, successful responses,
redirects, client errors, and servers errors.
301 Moved Permanently - HTTP
a browser
redirects to this page and search engines update their links to the resource (in 'seo-speak', it is said that the 'link-juice' is sent to the new url).
302 Found - HTTP
a browser
redirects to this page but search engines don't update their links to the resource (in 'seo-speak', it is said that the 'link-juice' is not sent to the new url).
303 See Other - HTTP
the hypertext transfer protocol (http) 303 see other redirect status response code indicates that the
redirects don't link to the newly uploaded resources, but to another page (such as a confirmation page or an upload progress page).
308 Permanent Redirect - HTTP
a browser
redirects to this page and search engines update their links to the resource (in 'seo-speak', it is said that the 'link-juice' is sent to the new url).
HTTP response status codes - HTTP
responses are grouped in five classes: informational responses (100–199), successful responses (200–299),
redirects (300–399), client errors (400–499), and server errors (500–599).