HTTP Index

This page lists all MDN HTTP pages along with their summary and tags.

Found 277 pages:

# Page Tags and summary
1 HTTP HTTP, Hypertext, Reference, TCP/IP, Web, Web Development, l10n:priority
Hypertext Transfer Protocol (HTTP) is an application-layer protocol for transmitting hypermedia documents, such as HTML. It was designed for communication between web browsers and web servers, but it can also be used for other purposes. HTTP follows a classical client-server model, with a client opening a connection to make a request, then waiting until it receives a response. HTTP is a stateless protocol, meaning that the server does not keep any data (state) between two requests. Though often based on a TCP/IP layer, it can be used on any reliable transport layer, that is, a protocol that doesn't lose messages silently like UDP does. RUDP — the reliable update of UDP — is a suitable alternative.
2 A typical HTTP session HTTP
In client-server protocols, like HTTP, sessions consist of three phases:
3 An overview of HTTP HTML, HTTP, Overview, WebMechanics, l10n:priority
HTTP isthe foundation of any data exchange on the Web and it is a client-server protocol, which means requests are initiated by the recipient, usually the Web browser. A complete document is reconstructed from the different sub-documents fetched, for instance text, layout description, images, videos, scripts, and more
4 Basics of HTTP Guide, HTTP, Overview
HTTP is a pretty extensible protocol. It relies on a few basic concepts like the notion of resources and URIs, a simple structure of messages, and a client-server structure for the communication flow. On top of these basic concepts, numerous extensions have appeared over the years, adding new functionality and new semantics by creating new HTTP methods or headers.
5 Choosing between www and non-www URLs Guide, HTTP, URL
A recurring question among website owners is whether to choose non-www or www URLs. This page provides some advice on what's best.
6 Data URLs Base64, Guide, HTTP, Intermediate, URL
Data URLs, URLs prefixed with the data: scheme, allow content creators to embed small files inline in documents.
7 Evolution of HTTP Guide, HTTP, NeedsUpdate, NeedsUpdate(HTTP/3)
HTTP (HyperText Transfer Protocol) is the underlying protocol of the World Wide Web. HTTP has evolved from an early protocol to exchange files in a semi-trusted laboratory environment, to the modern maze of the Internet, now carrying images, videos in high resolution and 3D.
8 Identifying resources on the Web Domain, HTTP, Path, Scheme, Syntax, URI, URL, URL Syntax, Web, fragment, port, query, resources
The target of an HTTP request is called a "resource", whose nature isn't defined further; it can be a document, a photo, or anything else. Each resource is identified by a Uniform Resource Identifier (URI) used throughout HTTP for identifying resources.
9 MIME types (IANA media types) Content-Type, Guide, HTTP, MIME Types, Meta, Request header, Response Header, application/javascript, application/json, application/xml
A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a standard that indicates the nature and format of a document, file, or assortment of bytes.
10 Incomplete list of MIME types Audio, File Types, Files, HTTP, MIME, MIME Types, PHP, Reference, Text, Types, Video
Here is a list of MIME types, associated by type of documents, ordered by their common extensions.
11 Resource URLs Guide, HTTP, Intermediate, Resource
Resource URLs, URLs prefixed with the resource: scheme, are used by Firefox and Firefox browser extensions to load resources internally, but some of the information is available to sites the browser connects to as well.
12 Browser detection using the user agent Compatibility, HTTP, Web Development
Serving different Web pages or services to different browsers is usually a bad idea. The Web is meant to be accessible to everyone, regardless of which browser or device they're using. There are ways to develop your website to progressively enhance itself based on the availability of features rather than by targeting specific browsers.
13 Compression in HTTP Guide, HTTP, compression
Compression is an important way to increase the performance of a Web site. For some documents, size reduction of up to 70% lowers the bandwidth capacity needs. Over the years, algorithms also got more efficient, and new ones are supported by clients and servers.
14 Configuring servers for Ogg media Audio, HTTP, Media, Ogg, Video
This guide covers a few server configuration changes that may be necessary for your web server to correctly serve Ogg media files.
15 Connection management in HTTP/1.x Connection Management, Guide, HTTP, Networking, Performance, WebMechanics
Connection management is a key topic in HTTP: opening and maintaining connections largely impacts the performance of Web sites and Web applications. In HTTP/1.x, there are several models: short-lived connections, persistent connections, and HTTP pipelining.
16 Content Security Policy (CSP) CSP, Content Security Policy, Reference, Security
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement to distribution of malware.
17 Content negotiation Content Negotiation, Content Negotiation Reference, HTTP, Reference
In HTTP, content negotiation is the mechanism that is used for serving different representations of a resource at the same URI, so that the user agent can specify which is best suited for the user (for example, which language of a document, which image format, or which content encoding).
18 List of default Accept values Accept, Content Negotiation, HTTP, Reference
This article documents the default values for the HTTP Accept header for specific inputs and browser versions.
19 Cross-Origin Resource Policy (CORP) HTTP, Reference, Security
Cross-Origin Resource Policy is an opt-in mechanism that allows web applications to protect against certain cross-origin requests, such as those issued by the browser when resources are embedded using elements such as <script> and <img>. This serves as an additional layer of protection above and beyond the same-origin policy which can mitigate speculative side channel attacks as well as Cross-Site Script Inclusion attacks. Cross-Origin Resource Policy complements Cross-Origin Read Blocking (CORB), which is a mechanism to prevent some cross-origin reads by default.
20 Cross-Origin Resource Sharing (CORS) AJAX, CORS, Cross-Origin Resource Sharing, Fetch, Fetch API, HTTP, HTTP Access Controls, Same-origin policy, Security, XMLHttpRequest, l10n:priority
Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin.
21 CORS errors CORS, Errors, HTTP, HTTPS, Messages, Same-origin, Security, console, troubleshooting
Cross-Origin Resource Sharing (CORS) is a standard that allows a server to relax the same-origin policy. This is used to explicitly allow some cross-origin requests while rejecting others.
22 Reason: CORS disabled Authentication, Authentication Article, CORS, Cross-Origin, Disabled, Errors, HTTP, HTTPS, Messages, Resource, Same Origin, Same-origin, Security, Sharing, Validation, secure, troubleshooting
A request that needs to use CORS was attempted, but CORS is disabled in the user's browser. When this happens, the user needs to turn CORS back on in their browser.
23 Reason: CORS header 'Access-Control-Allow-Origin' does not match 'xyz' CORS, CORSAllowOriginNotMatchingOrigin, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
Simply put, the origin making the request does not match any of the origins permitted by the Access-Control-Allow-Origin header.
24 Reason: CORS header 'Access-Control-Allow-Origin' missing CORS, CORSMissingAllowOrigin, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The response to the CORS request is missing the required Access-Control-Allow-Origin header, which is used to determine whether or not the resource can be accessed by content operating within the current origin.
25 Reason: CORS header ‘Origin’ cannot be added CORS, CORSOriginHeaderNotAdded, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The user agent was unable to add the required Origin header to the HTTP request. All CORS requests must have an Origin header.
26 Reason: CORS preflight channel did not succeed CORS, CORSPreflightDidNotSucceed, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The CORS request requires preflight, preflighting could not be performed. There are a couple of reasons why preflighting might fail:
27 Reason: CORS request did not succeed CORS, CORSDidNotSucceed, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The HTTP request which makes use of CORS failed because the HTTP connection failed at either the network or protocol level. The error is not directly related to CORS, but is a fundamental network error of some kind.
28 Reason: CORS request external redirect not allowed CORS, CORSOriginHeaderNotAdded, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The CORS request was responded to by the server with an HTTP redirect to a URL on a different origin than the original request, which is not permitted during CORS requests.
29 Reason: CORS request not HTTP CORS, CORSRequestNotHttp, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
CORS requests may only use the HTTPS URL scheme, but the URL specified by the request is of a different type. This often occurs if the URL specifies a local file, using a file:/// URL.
30 Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’ CORS, CORSNotSupportingCredentials, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The CORS request was attempted with the credentials flag set, but the server is configured using the wildcard ("*") as the value of Access-Control-Allow-Origin, which doesn't allow the use of credentials.
31 Reason: Did not find method in CORS header ‘Access-Control-Allow-Methods’ CORS, CORSMethodNotFound, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The HTTP method being used by the CORS request is not included in the list of methods specified by the response's Access-Control-Allow-Methods header. This header specifies a comma-delineated list of the HTTP methods which may be used when using CORS to access the URL specified in the request; if the request is using any other method, this error occurs.
32 Reason: Multiple CORS header 'Access-Control-Allow-Origin' not allowed CORS, CORSMultipleAllowOriginNotAllowed, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
More than one Access-Control-Allow-Origin header was sent by the server. This isn't allowed.
33 Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’ CORS, CORSMissingAllowCredentials, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The CORS request requires that the server permit the use of credentials, but the server's Access-Control-Allow-Credentials header's value isn't set to true to enable their use.
34 Reason: invalid token ‘xyz’ in CORS header ‘Access-Control-Allow-Headers’ CORS, CORSInvalidAllowHeader, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The response to the CORS request that was sent by the server includes an Access-Control-Allow-Headers header which includes at least one invalid header name.
35 Reason: invalid token ‘xyz’ in CORS header ‘Access-Control-Allow-Methods’ CORS, CORSInvalidAllowMethod, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The response to the CORS request that was sent by the server includes an Access-Control-Allow-Methods header which includes at least one invalid method name.
36 Reason: missing token ‘xyz’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel CORS, CORSMissingAllowHeaderFromPreflight, Cross-Origin, Error, HTTP, HTTPS, Messages, Reasons, Security, console, troubleshooting
The Access-Control-Allow-Headers header is sent by the server to let the client know which headers it supports for CORS requests. The value of Access-Control-Allow-Headers should be a comma-delineated list of header names, such as "X-Custom-Information" or any of the standard but non-basic header names (which are always allowed).
37 Feature Policy Feature Policy, Feature-Policy, HTTP, Reference, Security, header
Feature Policy allows web developers to selectively enable, disable, and modify the behavior of certain features and APIs in the browser. It is similar to Content Security Policy but controls features instead of security behavior.
38 Using Feature Policy Feature Policy, Feature-Policy, HTTP, Reference, Security, header
Feature Policy allows you to control which origins can use which features, both in the top-level page and in embedded frames. Essentially, you write a policy, which is an allowed list of origins for each feature. For every feature controlled by Feature Policy, the feature is only enabled in the current document or frame if its origin matches the allowed list of origins.
39 HTTP Index HTTP, Index
This page lists all MDN HTTP pages along with their summary and tags.
40 HTTP Messages Guide, HTTP, WebMechanics
HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
41 HTTP Public Key Pinning (HPKP) Guide, HPKP, HTTP, Security
HTTP Public Key Pinning (HPKP) is a security feature that tells a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of MITM attacks with forged certificates.
42 HTTP authentication Access Control, Authentication, Guide, HTTP, Security
HTTP provides a general framework for access control and authentication. The most common HTTP authentication is based on the "Basic" schema. This page shows an introduction to the HTTP framework for authentication and shows how to restrict access to your server using the HTTP "Basic" schema.
43 HTTP caching Caching, Guide, HTTP
The performance of web sites and applications can be significantly improved by reusing previously fetched resources. Web caches reduce latency and network traffic and thus lessen the time needed to display a representation of a resource. By making use of HTTP caching, Web sites become more responsive.
44 HTTP conditional requests Conditional Requests, Guide, HTTP
HTTP has a concept of conditional requests, where the result, and even the success of a request, can be changed by comparing the affected resources with the value of a validator. Such requests can be useful to validate the content of a cache, and sparing a useless control, to verify the integrity of a document, like when resuming a download, or when preventing to lose updates when uploading or modifying a document on the server.
45 HTTP cookies Advertising, Browser, Cookies, Cookies Article, Guide, HTTP, History, JavaScript, Privacy, Protocols, Server, Storage, Web Development, data, request, tracking
An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to the user's web browser. The browser may store it and send it back with the next request to the same server.
46 HTTP headers HTTP, HTTP Header, Headers, Networking, Overview, Reference
HTTP headers let the client and the server pass additional information with an HTTP request or response. An HTTP header consists of its case-insensitive name followed by a colon (:), then by its value.
47 Accept HTTP, HTTP Header, Reference, Request header
The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.
48 Accept-CH Client hints, HTTP, HTTP Header
The Accept-CH header is set by the server to specify which Client Hints headers client should include in subsequent requests.
49 Accept-CH-Lifetime Client hints, HTTP, header
The Accept-CH-Lifetime header is set by the server to specify the persistence of Accept-CH header value that specifies for which Client Hints headers client should include in subsequent requests.
50 Accept-Charset Content Negotiation, HTTP, HTTP Header, Reference, Request header
The Accept-Charset request HTTP header advertises which character encodings the client understands.
51 Accept-Encoding Content Negotiation, HTTP, HTTP Header, Reference, Request header
The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand. Using content negotiation, the server selects one of the proposals, uses it and informs the client of its choice with the Content-Encoding response header.
52 Accept-Language Accept-Language, Content Negotiation, HTTP, HTTP Header, Reference, Request header
The Accept-Language request HTTP header advertises which languages the client is able to understand, and which locale variant is preferred. (By languages, we mean natural languages, such as English, and not programming languages.) Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Language response header. Browsers set adequate values for this header according to their user interface language and even if a user can change it, this happens rarely (and is frowned upon as it leads to fingerprinting).
53 Accept-Patch HTTP, Reference
The Accept-Patch response HTTP header advertises which media-type the server is able to understand.
54 Accept-Ranges HTTP, HTTP Header, Range Requests, Reference, Response Header
The Accept-Ranges response HTTP header is a marker used by the server to advertise its support of partial requests. The value of this field indicates the unit that can be used to define a range.
55 Access-Control-Allow-Credentials Access-Control-Allow-Credentials, CORS, HTTP, Reference, credentials, header
The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is include.
56 Access-Control-Allow-Headers CORS, HTTP, Reference, Response Header, header
The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request.
57 Access-Control-Allow-Methods CORS, HTTP, Reference, header
The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request.
58 Access-Control-Allow-Origin Access Control, Access-Control-Allow-Origin, CORS, Dealing with CORS, HTTP, HTTP Header, How to Fix CORS, Reference, Security, cross-origin issue, header, origin
The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.
59 Access-Control-Expose-Headers CORS, HTTP, Reference, header
The Access-Control-Expose-Headers response header indicates which headers can be exposed as part of the response by listing their names.
60 Access-Control-Max-Age CORS, HTTP, Reference, header
The Access-Control-Max-Age response header indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached.
61 Access-Control-Request-Headers CORS, HTTP, Reference, header
The Access-Control-Request-Headers request header is used by browsers when issuing a preflight request, to let the server know which HTTP headers the client might send when the actual request is made.
62 Access-Control-Request-Method CORS, HTTP, Reference, header
The Access-Control-Request-Method request header is used by browsers when issuing a preflight request, to let the server know which HTTP method will be used when the actual request is made. This header is necessary as the preflight request is always an OPTIONS and doesn't use the same method as the actual request.
63 Age Caching, HTTP, Response, header
The Age header contains the time in seconds the object has been in a proxy cache.
64 Allow Entity header, HTTP, HTTP Header, Reference, header
The Allow header lists the set of methods support by a resource.
65 Alt-Svc Draft, HTTP, HTTP Header, NeedsCompatTable, NeedsContent, NeedsExample, Reference
The Alt-Svc header is used to list alternate ways to reach this website.
66 Authorization HTTP, HTTP Header, Reference, Request header, header
The HTTP Authorization request header contains the credentials to authenticate a user agent with a server, usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
67 Cache-Control Cache-Control, General Header, HTTP, HTTP Header, Reference
The Cache-Control general-header field is used to specify directives for caching mechanisms in both requests and responses. Caching directives are unidirectional, meaning that a given directive in a request is not implying that the same directive is to be given in the response.
68 Clear-Site-Data HTTP, HTTP Header, Reference, header
The Clear-Site-Data header clears browsing data (cookies, storage, cache) associated with the requesting website. It allows web developers to have more control over the data stored locally by a browser for their origins.
69 Connection HTTP, Headers, Reference, Web
The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done.
70 Content-Disposition HTTP, Reference, header
In a multipart/form-data body, the HTTP Content-Disposition general header is a header that can be used on the subpart of a multipart body to give information about the field it applies to. The subpart is delimited by the boundary defined in the Content-Type header. Used on the body itself, Content-Disposition has no effect.
71 Content-Encoding HTTP, Headers, Reference
The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. It lets the client know how to decode in order to obtain the media-type referenced by the Content-Type header.
72 Content-Language HTTP, Headers, Reference
The Content-Language entity header is used to describe the language(s) intended for the audience, so that it allows a user to differentiate according to the users' own preferred language.
73 Content-Length HTTP, Headers, Reference
The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient.
74 Content-Location HTTP, Reference, header
The Content-Location header indicates an alternate location for the returned data. The principal use is to indicate the URL of a resource transmitted as the result of content negotiation.
75 Content-Range HTTP, HTTP Header, Reference, Response Header, header
The Content-Range response HTTP header indicates where in a full body message a partial message belongs.
76 Content-Security-Policy CSP, Content Security Policy, HTTP, Reference, Security, header
The HTTP Content-Security-Policy response header allows web site administrators to control resources the user agent is allowed to load for a given page. With a few exceptions, policies mostly involve specifying server origins and script endpoints. This helps guard against cross-site scripting attacks (XSS).
77 CSP: base-uri CSP, Directive, Document directive, HTTP, Security
The HTTP Content-Security-Policy base-uri directive restricts the URLs which can be used in a document's <base> element. If this value is absent, then any URI is allowed. If this directive is absent, the user agent will use the value in the <base> element.
78 CSP: block-all-mixed-content CSP, Content-Security-Policy, Directive, HTTP, Mixed Content, Reference, Security, block-all-mixed-content
The HTTP Content-Security-Policy (CSP) block-all-mixed-content directive prevents loading any assets using HTTP when the page is loaded using HTTPS.
79 CSP: child-src CSP, Child, Content-Security-Policy, Directive, HTTP, Reference, Security, child-src, source
The HTTP Content-Security-Policy (CSP) child-src directive defines the valid sources for web workers and nested browsing contexts loaded using elements such as <frame> and <iframe>. For workers, non-compliant requests are treated as fatal network errors by the user agent.
80 CSP: connect-src CSP, Content-Security-Policy, Directive, HTTP, Reference, Security, connect-src, source
The HTTP Content-Security-Policy (CSP) connect-src directive restricts the URLs which can be loaded using script interfaces. The APIs that are restricted are:
81 CSP: default-src CSP, Content-Security-Policy, Directive, HTTP, Reference, Security, default, default-src, source
The HTTP Content-Security-Policy (CSP) default-src directive serves as a fallback for the other CSP fetch directives. For each of the following directives that are absent, the user agent will look for the default-src directive and will use this value for it:
82 CSP: font-src CSP, Content-Security-Policy, Directive, HTTP, Reference, Security, font, source
The HTTP Content-Security-Policy (CSP) font-src directive specifies valid sources for fonts loaded using @font-face.
83 CSP: form-action CSP, Content-Security-Policy, Directive, HTTP, Security, action, form, form-action
The HTTP Content-Security-Policy (CSP) form-action directive restricts the URLs which can be used as the target of a form submissions from a given context.
84 CSP: frame-ancestors Ancestors, CSP, Content-Security-Policy, Directive, Frame, HTTP, Security, frame-ancestors
The HTTP Content-Security-Policy (CSP) frame-ancestors directive specifies valid parents that may embed a page using <frame>, <iframe>, <object>, <embed>, or <applet>.
85 CSP: frame-src CSP, Content-Security-Policy, Directive, Frame, HTTP, Reference, Security, frame-src, source
The HTTP Content-Security-Policy (CSP) frame-src directive specifies valid sources for nested browsing contexts loading using elements such as <frame> and <iframe>.
86 CSP: img-src CSP, Content-Security-Policy, Directive, HTTP, Image, Reference, Security, img-src, source
The HTTP Content-Security-Policy img-src directive specifies valid sources of images and favicons.
87 CSP: manifest-src CSP, Content-Security-Policy, Directive, HTTP, Manifest, Reference, Security, manifest-src, source
The HTTP Content-Security-Policy: manifest-src directive specifies which manifest can be applied to the resource.
88 CSP: media-src CSP, Content-Security-Policy, Directive, HTTP, Media, Reference, Security, media-src, source
The HTTP Content-Security-Policy (CSP) media-src directive specifies valid sources for loading media using the <audio> and <video> elements.
89 CSP: navigate-to CSP, Content-Security-Policy, Directive, HTTP, Navigation, Reference, Security
The HTTP Content-Security-Policy (CSP) navigate-to directive restricts the URLs to which a document can initiate navigations by any means including <form> (if form-action is not specified), <a>, window.location, window.open, etc. This is an enforcement on what navigations this document initiates not on what this document is allowed to navigate to.
90 CSP: object-src CSP, Content-Security-Policy, Directive, HTTP, Object, Reference, Security, object-src, source
The HTTP Content-Security-Policy object-src directive specifies valid sources for the <object>, <embed>, and <applet> elements.
91 CSP: plugin-types CSP, Content-Security-Policy, Directive, Flash, HTTP, Java, Plugin, Plugins, Security
The HTTP Content-Security-Policy (CSP) plugin-types directive restricts the set of plugins that can be embedded into a document by limiting the types of resources which can be loaded.
92 CSP: prefetch-src CSP, Content Security Policy, Directive, HTTP, Reference, prefetch-src
The HTTP Content-Security-Policy (CSP) prefetch-src directive specifies valid resources that may be prefetched or prerendered.
93 CSP: referrer CSP, Content-Security-Policy, Directive, HTTP, Obsolete, Reference, Security, referrer
The HTTP Content-Security-Policy (CSP) referrer directive used to specify information in the Referer header (with a single r as this was a typo in the original spec) for links away from a page. This API is deprecated and removed from browsers.
94 CSP: report-to CSP, Content Security Policy, Content-Security-Policy, HTTP, Reporting, Security, report-to
The Content-Security-Policy Report-To HTTP response header field instructs the user agent to store reporting endpoints for an origin.
95 CSP: report-uri CSP, Directive, HTTP, Reference, Security
The deprecated HTTP Content-Security-Policy (CSP) report-uri directive instructs the user agent to report attempts to violate the Content Security Policy. These violation reports consist of JSON documents sent via an HTTP POST request to the specified URI.
96 CSP: require-sri-for CSP, Directive, HTTP, Reference, Security, Subresource Integrity, require-sri-for
The HTTP Content-Security-Policy require-sri-for directive instructs the client to require the use of Subresource Integrity for scripts or styles on the page.
97 CSP: sandbox CSP, Content-Security-Policy, Directive, HTTP, Sandbox, Security
The HTTP Content-Security-Policy (CSP) sandbox directive enables a sandbox for the requested resource similar to the <iframe> sandbox attribute. It applies restrictions to a page's actions including preventing popups, preventing the execution of plugins and scripts, and enforcing a same-origin policy.
98 CSP: script-src CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Script, Security, script-src, source
The HTTP Content-Security-Policy (CSP) script-src directive specifies valid sources for JavaScript. This includes not only URLs loaded directly into <script> elements, but also things like inline script event handlers (onclick) and XSLT stylesheets which can trigger script execution.
99 CSP: script-src-attr CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Script, Security, script-src, source
The HTTP Content-Security-Policy (CSP) script-src-attr directive specifies valid sources for JavaScript inline event handlers. This includes only inline script event handlers like onclick, but not URLs loaded directly into <script> elements.
100 CSP: script-src-elem CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Script, Security, script-src, source
The HTTP Content-Security-Policy (CSP) script-src-elem directive specifies valid sources for JavaScript <script> elements, but not inline script event handlers like onclick.
101 CSP: style-src CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Security, Style, source, style-src
The HTTP Content-Security-Policy (CSP) style-src directive specifies valid sources for stylesheets.
102 CSP: style-src-attr CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Security, Style, source, style-src, style-src-attr
The HTTP Content-Security-Policy (CSP) style-src-attr directive specifies valid sources for inline styles applied to individual DOM elements.
103 CSP: style-src-elem CSP, Content, Content-Security-Policy, Directive, HTTP, Reference, Security, Style, source, style-src, style-src-elem
The HTTP Content-Security-Policy (CSP) style-src-elem directive specifies valid sources for stylesheets <style> elements and <link> elements with rel="stylesheet".
104 CSP: trusted-types
The HTTP Content-Security-Policy (CSP) trusted-types directive instructs user agents to restrict usage of known DOM XSS sinks to a predefined set of functions that only accept non-spoofable, typed values in place of strings. This allows authors to define rules guarding writing values to the DOM and thus reducing the DOM XSS attack surface to small, isolated parts of the web application codebase, facilitating their monitoring and code review. This directive declares a white-list of trusted type policy names created with TrustedTypes.createPolicy from Trusted Types API.
105 CSP: upgrade-insecure-requests CSP, Content-Security-Policy, Directive, HTTP, Reference, Requests, Security, Upgrade, upgrade-insecure-requests
The HTTP Content-Security-Policy (CSP) upgrade-insecure-requests directive instructs user agents to treat all of a site's insecure URLs (those served over HTTP) as though they have been replaced with secure URLs (those served over HTTPS). This directive is intended for web sites with large numbers of insecure legacy URLs that need to be rewritten.
106 CSP: worker-src CSP, Content-Security-Policy, Directive, HTTP, Reference, Security
The HTTP Content-Security-Policy (CSP) worker-src directive specifies valid sources for Worker, SharedWorker, or ServiceWorker scripts.
107 Content-Security-Policy-Report-Only CSP, HTTP, HTTPS, Reference, Security, header
The HTTP Content-Security-Policy-Report-Only response header allows web developers to experiment with policies by monitoring (but not enforcing) their effects. These violation reports consist of JSON documents sent via an HTTP POST request to the specified URI.
108 Content-Type Content-Type, Entity header, HTTP, Reference, header
The Content-Type entity header is used to indicate the media type of the resource.
109 Cookie Cookies, HTTP, Reference, header, request
The Cookie HTTP request header contains stored HTTP cookies previously sent by the server with the Set-Cookie header.
110 Cookie2 HTTP, Obsolete, Reference, header, request
The obsolete Cookie2 HTTP request header used to advise the server that the user agent understands "new-style" cookies, but nowadays user agents will use the Cookie header instead, not this one.
111 Cross-Origin-Resource-Policy HTTP, HTTP Header, Reference, Response Header, header
The HTTP Cross-Origin-Resource-Policy response header conveys a desire that the browser blocks no-cors cross-origin/cross-site requests to the given resource.
112 DNT DNT, HTTP, Reference, header
The DNT (Do Not Track) request header indicates the user's tracking preference. It lets users indicate whether they would prefer privacy rather than personalized content.
113 DPR Client hints, HTTP, HTTP Header
The DPR header is a Client Hints headers which represents the client device pixel ratio (DPR), which is the the number of physical device pixels corresponding to every CSS pixel.
114 Date General Header, HTTP, Reference, header
The Date general HTTP header contains the date and time at which the message was originated.
115 Device-Memory Client hints, Device Memory API, HTTP, HTTP Header
The Device-Memory header is a Device Memory API header that works like Client Hints header which represents the approximate amount of RAM client device has.
116 Digest HTTP, HTTP Header
The Digest response HTTP header provides a digest of the requested resource.
117 ETag HTTP, Reference, Response, header
The ETag HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content has not changed. Additionally, etags help prevent simultaneous updates of a resource from overwriting each other ("mid-air collisions").
118 Early-Data Client hints, HTTP, header, request
The Early-Data header is set by an intermediate to indicates that the request has been conveyed in TLS early data, and additionally indicates that an intermediary understands the 425 (Too Early) status code. The Early-Data header is not set by the originator of the request (i.e., a browser).
119 Expect HTTP, HTTP Header, Reference, Request header
The Expect HTTP request header indicates expectations that need to be fulfilled by the server in order to properly handle the request.
120 Expect-CT HTTP, Reference, header
The Expect-CT header allows sites to opt in to reporting and/or enforcement of Certificate Transparency requirements, which prevents the use of misissued certificates for that site from going unnoticed.
121 Expires Caching, HTTP, Response, header
The Expires header contains the date/time after which the response is considered stale.
122 Feature-Policy Experimental, Feature Policy, Feature-Policy, HTTP, Reference, header
The HTTP Feature-Policy header provides a mechanism to allow and deny the use of browser features in its own frame, and in content within any <iframe> elements in the document.
123 Feature-Policy: accelerometer Accelerometer, Directive, Feature Policy, HTTP, Reference
The HTTP Feature-Policy header accelerometer directive controls whether the current document is allowed to gather information about the acceleration of the device through the Accelerometer interface.
124 Feature-Policy: ambient-light-sensor Ambient Light Sensor, Feature Policy, HTTP
The HTTP Feature-Policy header ambient-light-sensor directive controls whether the current document is allowed to gather information about the amount of light in the environment around the device through the AmbientLightSensor interface.
125 Feature-Policy: autoplay Directive, Feature Policy, Feature-Policy, HTTP, Reference, autoplay
The HTTP Feature-Policy header autoplay directive controls whether the current document is allowed to autoplay media requested through the HTMLMediaElement interface.
126 Feature-Policy: battery
The HTTP Feature-Policy header battery directive controls whether the current document is allowed to gather information about the acceleration of the device through the BatteryManager interface obtained via Navigator.getBattery().
127 Feature-Policy: camera Directive, Feature Policy, Feature-Policy, HTTP, Reference, camera
The HTTP Feature-Policy header camera directive controls whether the current document is allowed to use video input devices. When this policy is enabled, the Promise returned by MediaDevices.getUserMedia() will reject with a NotAllowedError.
128 Feature-Policy: display-capture
The HTTP Feature-Policy header display-capture directive controls whether or not the document is permitted to use Screen Capture API, i.e.,getDisplayMedia() to capture the screen's contents.
129 Feature-Policy: document-domain Directive, Experimental, Feature Policy, Feature-Policy, HTTP, Reference, document-domain, header
The HTTP Feature-Policy header document-domain directive controls whether the current document is allowed to set document.domain. When this policy is enabled, attempting to set document.domain will fail and cause a SecurityError DOMException to be be thrown.
130 Feature-Policy: encrypted-media Directive, EME, Feature Policy, Feature-Policy, HTTP, Reference
The HTTP Feature-Policy header encrypted-media directive controls whether the current document is allowed to use the Encrypted Media Extensions API (EME). When this policy is enabled, the Promise returned by Navigator.requestMediaKeySystemAccess() will reject with a DOMException.
131 Feature-Policy: fullscreen Feature Policy, Feature-Policy, HTTP, fullscreen, header
The HTTP Feature-Policy header fullscreen directive controls whether the current document is allowed to use Element.requestFullScreen(). When this policy is enabled, the returned Promise rejects with a TypeError.
132 Feature-Policy: geolocation Feature Policy, Feature-Policy, Geolocation, HTTP, header
The HTTP Feature-Policy header geolocation directive controls whether the current document is allowed to use the Geolocation Interface. When this policy is enabled, calls to getCurrentPosition() and watchPosition() will cause those functions' callbacks to be invoked with a PositionError code of PERMISSION_DENIED.
133 Feature-Policy: gyroscope
The HTTP Feature-Policy header gyroscope directive controls whether the current document is allowed to gather information about the orientation of the device through the Gyroscope interface.
134 Feature-Policy: layout-animations Directive, Feature-Policy, HTTP, Reference, layout-animations
The HTTP Feature-Policy header layout-animations directive controls whether the current document is allowed to show layout animations.
135 Feature-Policy: legacy-image-formats Direcive, Feature-Policy, HTTP, Reference, legacy-image-formats
The HTTP Feature-Policy header legacy-image-formats directive controls whether the current document is allowed to display images in legacy formats.
136 Feature-Policy: magnetometer Directive, Feature-Policy, HTTP, Magnetometer, Reference
The HTTP Feature-Policy header magnetometer directive controls whether the current document is allowed to gather information about the orientation of the device through the Magnetometer interface.
137 Feature-Policy: microphone Feature Policy, Feature-Policy, HTTP, header, microphone
The HTTP Feature-Policy header microphone directive controls whether the current document is allowed to use audio input devices. When this policy is enabled, the Promise returned by MediaDevices.getUserMedia() will reject with a NotAllowedError.
138 Feature-Policy: midi Directive, Feature Policy, Feature-Policy, HTTP, MIDI, Reference
The HTTP Feature-Policy header midi directive controls whether the current document is allowed to use the Web MIDI API. When this policy is enabled, the Promise returned by Navigator.requestMIDIAccess() will reject with a DOMException.
139 Feature-Policy: oversized-images Directive, Feature-Policy, HTTP, Reference
The HTTP Feature-Policy header oversized-images directive controls whether the current document is allowed to download and display large images.
140 Feature-Policy: payment Directive, Feature Policy, Feature-Policy, HTTP, Payment Request API, Payments API, Reference
The HTTP Feature-Policy header field's payment directive controls whether the current document is allowed to use the Payment Request API. When this policy is disabled, the PaymentRequest() constructor will throw a SecurityError.
141 Feature-Policy: picture-in-picture Directive, Feature-Policy, HTTP, Picture in picture, Reference
The HTTP Feature-Policy header picture-in-picture directive controls whether the current document is allowed to play a video in a Picture-in-Picture mode via the corresponding API.
142 Feature-Policy: publickey-credentials
The HTTP Feature-Policy header publickey-credentials directive controls whether the current document is allowed to access Web Authentcation API, i.e, via navigator.credentials.create({publicKey: ...,...}) and navigator.credentials.get({publicKey: ...,...}).
143 Feature-Policy: speaker Audio, Directive, Feature-Policy, HTTP, Reference, speaker
The HTTP Feature-Policy header speaker directive controls whether the current document is allowed to play audio via any methods.
144 Feature-Policy: sync-xhr Directive, Feature Policy, Feature-Policy, HTTP, Reference, XMLHttpRequest
The HTTP Feature-Policy header sync-xhr directive controls whether the current document is allowed to make synchronous XMLHttpRequest requests.
145 Feature-Policy: unoptimized-images Directive, Feature-Policy, HTTP, Image, Reference
The HTTP Feature-Policy header unoptimized-images directive controls whether the current document is allowed to download and display unoptimized images.
146 Feature-Policy: unsized-media Directive, Feature-Policy, HTTP, Reference
The HTTP Feature-Policy header unsized-media directive controls whether the current document is allowed to change the size of media elements after the initial layout is complete.
147 Feature-Policy: usb Directive, Feature-Policy, HTTP, Reference, Vibration API, Web USB
The HTTP Feature-Policy header usb directive controls whether the current document is allowed to use the WebUSB API.
148 Feature-Policy: vibrate Directive, Feature-Policy, HTTP, Reference, Vibration API
The HTTP Feature-Policy header vibrate directive controls whether the current document is allowed to trigger device vibrations via Vibration API.
150 Feature-Policy: wake-lock Directive, Feature-Policy, HTTP, Reference, Wake Lock API
The HTTP Feature-Policy header wake-lock directive controls whether the current document is allowed to use Wake Lock API to indicate that device should not enter power-saving mode.
151 Feature-Policy: xr
This Feature Policy directive was at one point defined as xr (but implemented only in Chrome as vr), use xr-spatial-tracking instead.
152 Feature-Policy: xr-spatial-tracking
The HTTP Feature-Policy header xr-spatial-tracking directive controls whether the current document is allowed to use the WebXR Device API. This policy controls whether navigator.xr.requestSession() can return XRSession that requires spatial tracking and whether user agent can indicate support for sessions supporting spatial tracking via navigator.xr.isSessionSupported() and devicechange event on navigator.xr object.
153 Forwarded HTTP, HTTP Header, Reference, Request header, header
The Forwarded header contains information from the client-facing side of proxy servers that is altered or lost when a proxy is involved in the path of the request.
154 From HTTP, Reference, header
The From request header contains an Internet email address for a human user who controls the requesting user agent.
155 Host HTTP, Reference, header
The Host request header specifies the domain name of the server (for virtual hosting), and (optionally) the TCP port number on which the server is listening.
156 If-Match Conditional Requests, HTTP, HTTP Header, Reference, Request header
The If-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource only if it matches one of the listed ETags. For PUT and other non-safe methods, it will only upload the resource in this case.
157 If-Modified-Since Conditional Requests, HTTP, HTTP Header, Reference, Request header
The If-Modified-Since request HTTP header makes the request conditional: the server will send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified response header of a previous request will contain the date of last modification. Unlike If-Unmodified-Since, If-Modified-Since can only be used with a GET or HEAD.
158 If-None-Match Conditional Requests, HTTP, HTTP Header, Reference, Request header
The If-None-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn't have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed.
159 If-Range Condtional Requests, HTTP, HTTP Header, Range Requests, Reference, Request header
The If-Range HTTP request header makes a range request conditional: if the condition is fulfilled, the range request will be issued and the server sends back a 206 Partial Content answer with the appropriate body. If the condition is not fulfilled, the full resource is sent back, with a 200 OK status.
160 If-Unmodified-Since HTTP, HTTP Header, Reference, Request header
The If-Unmodified-Since request HTTP header makes the request conditional: the server will send back the requested resource, or accept it in the case of a POST or another non-safe method, only if it has not been last modified after the given date. If the resource has been modified after the given date, the response will be a 412 (Precondition Failed) error.
161 Index HTTP, HTTP Header, Index
Found 122 pages:
162 Keep-Alive General Header, HTTP, HTTP Header, Reference
The Keep-Alive general header allows the sender to hint about how the connection may be used to set a timeout and a maximum amount of requests.
163 Large-Allocation HTTP, HTTP Header, Non-standard, Reference, Response Header, header
The non-standard Large-Allocation response header tells the browser that the page being loaded is going to want to perform a large allocation. It is currently only implemented in Firefox, but is harmless to send to every browser.
164 Last-Modified HTTP, HTTP Header, Reference, Response Header
The Last-Modified response HTTP header contains the date and time at which the origin server believes the resource was last modified. It is used as a validator to determine if a resource received or stored is the same. Less accurate than an ETag header, it is a fallback mechanism. Conditional requests containing If-Modified-Since or If-Unmodified-Since headers make use of this field.
165 Link Draft, HTTP, HTTP Header, Link, NeedsCompatTable, NeedsContent, NeedsSyntax, Reference
The HTTP Link entity-header field provides a means for serialising one or more links in HTTP headers. It is semantically equivalent to the HTML <link> element.
166 Location HTTP, HTTP Header, Reference, Response Header
The Location response header indicates the URL to redirect a page to. It only provides a meaning when served with a 3xx (redirection) or 201 (created) status response.
167 Origin HTTP, Reference, Request header, header, origin
The Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn't disclose the whole path.
168 Pragma Caching, Deprecated, HTTP, header, request
The Pragma HTTP/1.0 general header is an implementation-specific header that may have various effects along the request-response chain. It is used for backwards compatibility with HTTP/1.0 caches where the Cache-Control HTTP/1.1 header is not yet present.
169 Proxy-Authenticate HTTP, HTTP Header, Proxy, Reference, Response Header
The HTTP Proxy-Authenticate response header defines the authentication method that should be used to gain access to a resource behind a proxy server. It authenticates the request to the proxy server, allowing it to transmit the request further.
170 Proxy-Authorization HTTP, HTTP Header, Reference, Request header, header
The HTTP Proxy-Authorization request header contains the credentials to authenticate a user agent to a proxy server, usually after the server has responded with a 407 Proxy Authentication Required status and the Proxy-Authenticate header.
171 Public-Key-Pins HPKP, HTTP, Reference, Security, header
The HTTP Public-Key-Pins response header associates a specific cryptographic public key with a certain web server to decrease the risk of MITM attacks with forged certificates. If one or several keys are pinned and none of them are used by the server, the browser will not accept the response as legitimate, and will not display it.
172 Public-Key-Pins-Report-Only HPKP, HTTP, Security, header
The HTTP Public-Key-Pins-Report-Only response header sends reports of pinning violation to the report-uri specified in the header but, unlike Public-Key-Pins still allows browsers to connect to the server if the pinning is violated.
173 Range HTTP, HTTP Header, Range Requests, Reference, Request header
The Range HTTP request header indicates the part of a document that the server should return. Several parts can be requested with one Range header at once, and the server may send back these ranges in a multipart document. If the server sends back ranges, it uses the 206 Partial Content for the response. If the ranges are invalid, the server returns the 416 Range Not Satisfiable error. The server can also ignore the Range header and return the whole document with a 200 status code.
174 Referer HTTP, Reference, header, referer, referrer
The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.
175 Referrer-Policy HTTP, HTTP Header, Privacy, Reference, Referrer-Policy, Response, Response Header, referrer
The Referrer-Policy HTTP header controls how much referrer information (sent via the Referer header) should be included with requests.
176 Retry-After HTTP, Reference, Response, Response Header, header
The Retry-After response HTTP header indicates how long the user agent should wait before making a follow-up request. There are three main cases this header is used:
177 Save-Data HTTP, HTTP Header, Reference, Request header, Save-Data, header
The Save-Data header field is a boolean which, in requests, indicates the client's preference for reduced data usage. This could be for reasons such as high transfer costs, slow connection speeds, etc.
178 Sec-WebSocket-Accept Draft, HTTP, NeedsCompatTable, NeedsContent, Reference, Sec-WebSocket-Accept, WebSockets, header
The Sec-WebSocket-Accept header is used in the websocket opening handshake. It would appear in the response headers. That is, this is header is sent from server to client to inform that server is willing to initiate a websocket connection.
179 Server HTTP, Reference, header
The Server header contains information about the software used by the origin server to handle the request.
180 Server-Timing HTTP, Performance, Reference, header
The Server-Timing header communicates one or more metrics and descriptions for a given request-response cycle. It is used to surface any backend server timing metrics (e.g. database read/write, CPU time, file system access, etc.) in the developer tools in the user's browser or in the PerformanceServerTiming interface.
181 Set-Cookie Cookies, HTTP, Reference, Response, header
The Set-Cookie HTTP response header is used to send cookies from the server to the user agent, so the user agent can send them back to the server later.
182 Set-Cookie2 Cookies, HTTP, Obsolete, Reference, header
The obsolete Set-Cookie2 HTTP response header used to send cookies from the server to the user agent, but has been deprecated by the specification. Use Set-Cookie instead.
183 SourceMap HTTP, HTTP Header, Reference, Response Header, header
The SourceMap HTTP response header links generated code to a source map, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.
184 Strict-Transport-Security HSTS, HTTP, HTTPS, Security, header
The HTTP Strict-Transport-Security response header (often abbreviated as HSTS) lets a web site tell browsers that it should only be accessed using HTTPS, instead of using HTTP.
185 TE HTTP, Reference, header
The TE request header specifies the transfer encodings the user agent is willing to accept. (you could informally call it Accept-Transfer-Encoding, which would be more intuitive).
186 Timing-Allow-Origin CORS, HTTP, Reference, Timing-Allow-Origin, header
The Timing-Allow-Origin response header specifies origins that are allowed to see values of attributes retrieved via features of the Resource Timing API, which would otherwise be reported as zero due to cross-origin restrictions.
187 Tk DNT, HTTP, Reference, Response, header, tracking
The Tk response header indicates the tracking status that applied to the corresponding request.
188 Trailer HTTP, Reference, header
The Trailer response header allows the sender to include additional fields at the end of chunked messages in order to supply metadata that might be dynamically generated while the message body is sent, such as a message integrity check, digital signature, or post-processing status.
189 Transfer-Encoding HTTP, Reference, header
The Transfer-Encoding header specifies the form of encoding used to safely transfer the payload body to the user.
190 Upgrade-Insecure-Requests HTTP, HTTPS, Security, header
The HTTP Upgrade-Insecure-Requests request header sends a signal to the server expressing the client’s preference for an encrypted and authenticated response, and that it can successfully handle the upgrade-insecure-requests CSP directive.
191 User-Agent HTTP, HTTP Header, Reference, User-agent
The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent.
192 Firefox user agent string reference Compatibility, Firefox, Firefox 4, Gecko, Gecko 2.0, Guide
This document describes the user agent string used in Firefox 4 and later and applications based on Gecko 2.0 and later. For a breakdown of changes to the string in Gecko 2.0, see Final User Agent string for Firefox 4 (blog post). See also this document on user agent sniffing and this Hacks blog post.
193 Vary HTTP, Reference, Response, Response Header, header
The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. It is used by the server to indicate which headers it used when selecting a representation of a resource in a content negotiation algorithm.
194 Via HTTP, Reference, header
The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. It is used for tracking message forwards, avoiding request loops, and identifying the protocol capabilities of senders along the request/response chain.
195 WWW-Authenticate HTTP, HTTP Header, Reference, Response Header, header
The HTTP WWW-Authenticate response header defines the authentication method that should be used to gain access to a resource.
196 Want-Digest HTTP, HTTP Header
The Want-Digest HTTP header is primarily used in a HTTP request, to ask the responder to provide a digest of the requested resource using the Digest response header.
197 Warning General Header, HTTP, Reference, header
The Warning general HTTP header contains information about possible problems with the status of the message. More than one Warning header may appear in a response.
198 X-Content-Type-Options HTTP, HTTP Header, Reference, Response Header
The X-Content-Type-Options response HTTP header is a marker used by the server to indicate that the MIME types advertised in the Content-Type headers should not be changed and be followed. This allows to opt-out of MIME type sniffing, or, in other words, it is a way to say that the webmasters knew what they were doing.
199 X-DNS-Prefetch-Control DNS, HTTP, X-DNS-Prefetch-Control, header
The X-DNS-Prefetch-Control HTTP response header controls DNS prefetching, a feature by which browsers proactively perform domain name resolution on both links that the user may choose to follow as well as URLs for items referenced by the document, including images, CSS, JavaScript, and so forth.
200 X-Forwarded-For HTTP, HTTP Header, Non-standard, Reference, Request header, header
The X-Forwarded-For (XFF) header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. When traffic is intercepted between clients and servers, server access logs contain the IP address of the proxy or load balancer only. To see the original IP address of the client, the X-Forwarded-For request header is used.
201 X-Forwarded-Host HTTP, HTTP Header, Non-standard, Reference, Request header, header
The X-Forwarded-Host (XFH) header is a de-facto standard header for identifying the original host requested by the client in the Host HTTP request header.
202 X-Forwarded-Proto HTTP, HTTP Header, Non-standard, Reference, Request header, header
The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer. Your server access logs contain the protocol used between the server and the load balancer, but not the protocol used between the client and the load balancer. To determine the protocol used between the client and the load balancer, the X-Forwarded-Proto request header can be used.
203 X-Frame-Options Gecko, HAProxy, HTTP, Response Header, Security, nginx
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe>, <embed> or <object>. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.
204 X-XSS-Protection HTTP, Reference, Security, XSS, header
The HTTP X-XSS-Protection response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks. Although these protections are largely unnecessary in modern browsers when sites implement a strong Content-Security-Policy that disables the use of inline JavaScript ('unsafe-inline'), they can still provide protections for users of older web browsers that don't yet support CSP.
205 HTTP range requests Guide, HTTP, HTTP range requests
HTTP range requests allow to send only a portion of an HTTP message from a server to a client. Partial requests are useful for large media or downloading files with pause and resume functions, for example.
206 HTTP request methods HTTP, Methods, Reference
HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred as HTTP verbs. Each of them implements a different semantic, but some common features are shared by a group of them: e.g. a request method can be safe, idempotent, or cacheable.
207 CONNECT HTTP, Reference, Request method
The HTTP CONNECT method starts two-way communications with the requested resource. It can be used to open a tunnel.
208 DELETE HTTP, HTTP method, Reference, Request method
The HTTP DELETE request method deletes the specified resource.
209 GET HTTP, Reference, Request method
The HTTP GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
210 HEAD HTTP, Reference, Request method
The HTTP HEAD method requests the headers that are returned if the specified resource would be requested with an HTTP GET method. Such a request can be done before deciding to download a large resource to save bandwidth, for example.
211 OPTIONS HTTP, Reference, Request method
The HTTP OPTIONS method is used to describe the communication options for the target resource. The client can specify a URL for the OPTIONS method, or an asterisk (*) to refer to the entire server.
212 PATCH HTTP, HTTP method, Reference, Request method
The HTTP PATCH request method applies partial modifications to a resource.
213 POST HTTP, Reference, Request method
The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.
214 PUT HTTP, HTTP method, Reference, Request method
The HTTP PUT request method creates a new resource or replaces a representation of the target resource with the request payload.
215 TRACE HTTP, Reference, Trace method
The HTTP TRACE method performs a message loop-back test along the path to the target resource, providing a useful debugging mechanism.
216 HTTP resources and specifications Guide, HTTP
HTTP was first specified in the early 1990s. Designed with extensibility in mind, it has seen numerous additions over the years; this lead to its specification being scattered through numerous specification documents (in the midst of experimental abandoned extensions). This page lists relevant resources about HTTP.
217 HTTP response status codes HTTP, Landing, Overview, Reference, Status code, Web
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes: Informational responses (100199),Successful responses (200299),Redirects (300399),Client errors (400499),and Server errors (500599).
218 100 Continue HTTP, Informational, Status code
The HTTP 100 Continue informational status response code indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.
219 101 Switching Protocols HTTP, HTTP Status Code, Informational, Reference, WebSockets
The HTTP 101 Switching Protocols response code indicates the protocol the server is switching to as requested by a client which sent the message including the Upgrade request header.
220 103 Early Hints Draft, HTTP, Informational, NeedsCompatTable, NeedsContent, Status code
The HTTP 103 Early Hints information response status code is primarily intended to be used with the Link header to allow the user agent to start preloading resources while the server is still preparing a response.
221 200 OK HTTP, Status code, Success
The HTTP 200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default.
222 201 Created HTTP, Reference, Status code, Success
The HTTP 201 Created success status response code indicates that the request has succeeded and has led to the creation of a resource. The new resource is effectively created before this response is sent back and the new resource is returned in the body of the message, its location being either the URL of the request, or the content of the Location header.
223 202 Accepted HTTP, Reference, Status code, Success response
The HyperText Transfer Protocol (HTTP) 202 Accepted response status code indicates that the request has been received but not yet acted upon. It is non-committal, meaning that there is no way for the HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.
224 203 Non-Authoritative Information HTTP, HTTP Status Code, Reference, Status code, Successful response
The HTTP 203 Non-Authoritative Information response status indicates that the request was successful but the enclosed payload has been modified by a transforming proxy from that of the origin server's 200 (OK) response .
225 204 No Content HTTP, Reference, Status code, Success
The HTTP 204 No Content success status response code indicates that the request has succeeded, but that the client doesn't need to go away from its current page. A 204 response is cacheable by default. An ETag header is included in such a response.
226 205 Reset Content HTTP, HTTP Status Code, Reference, Status code
The HTTP 205 Reset Content response status tells the client to reset the document view, so for example to clear the content of a form, reset a canvas state, or to refresh the UI.
227 206 Partial Content HTTP, HTTP Status, Range Requests, Success
The HTTP 206 Partial Content success status response code indicates that the request has succeeded and has the body contains the requested ranges of data, as described in the Range header of the request.
228 300 Multiple Choices HTTP, HTTP Status Code, Reference, Status code
The HTTP 300 Multiple Choices redirect status response code indicates that the request has more than one possible responses. The user-agent or the user should choose one of them. As there is no standardized way of choosing one of the responses, this response code is very rarely used.
229 301 Moved Permanently HTTP, Redirect, Reference, Status code
The HyperText Transfer Protocol (HTTP) 301 Moved Permanently redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. 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. 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).
231 303 See Other HTTP, HTTP Status Code, Reference, redirects
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). This response code is usually sent back as a result of PUT or POST. The method used to display this redirected page is always GET.
232 304 Not Modified HTTP, Redirection, Reference, Status code
The HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a If-None-Match or a If-Modified-Since header.
233 307 Temporary Redirect HTTP, HTTP Status Code, Reference, redirects
The method and the body of the original request are reused to perform the redirected request. In the cases where you want the method used to be changed to GET, use 303 See Other instead. This is useful when you want to give an answer to a PUT method that is not the uploaded resources, but a confirmation message (like "You successfully uploaded XYZ").
234 308 Permanent Redirect HTTP, HTTP Status Code, Reference, redirects
The request method and the body will not be altered, whereas 301 may incorrectly sometimes be changed to a GET method.
235 400 Bad Request Client error, HTTP, HTTP Status Code, Reference, Status code
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
236 401 Unauthorized Client error, HTTP, Reference, Status code
The HTTP 401 Unauthorized client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
237 402 Payment Required Browser, Client error, HTTP, Status code
The HTTP 402 Payment Required is a nonstandard client error status response code that is reserved for future use.
238 403 Forbidden Client error, HTTP, Reference, Status code
The HTTP 403 Forbidden client error status response code indicates that the server understood the request but refuses to authorize it.
239 404 Not Found Browser, Client error, HTTP, Status code
The HTTP 404 Not Found client error response code indicates that the server can't find the requested resource. Links which lead to a 404 page are often called broken or dead links, and can be subject to link rot.
240 405 Method Not Allowed Client error, HTTP, HTTP Status Code, Reference, Status code
The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates that the request method is known by the server but is not supported by the target resource.
241 406 Not Acceptable HTTP, Reference, Status code
The HyperText Transfer Protocol (HTTP) 406 Not Acceptable client error response code indicates that the server cannot produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers, and that the server is unwilling to supply a default representation.
242 407 Proxy Authentication Required Client error, HTTP, Reference, Status code
The HTTP 407 Proxy Authentication Required client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for a proxy server that is between the browser and the server that can access the requested resource.
243 408 Request Timeout Client error, HTTP, HTTP Status Code, Reference, Status code
The HyperText Transfer Protocol (HTTP) 408 Request Timeout response status code means that the server would like to shut down this unused connection. It is sent on an idle connection by some servers, even without any previous request by the client.
244 409 Conflict Client error, HTTP, HTTP Status Code, Reference
The HTTP 409 Conflict response status code indicates a request conflict with current state of the server.
245 410 Gone Client error, HTTP, Reference, Status code
The HyperText Transfer Protocol (HTTP) 410 Gone client error response code indicates that access to the target resource is no longer available at the origin server and that this condition is likely to be permanent.
246 411 Length Required Client error, HTTP, HTTP Status Code, Reference, Status code
The HyperText Transfer Protocol (HTTP) 411 Length Required client error response code indicates that the server refuses to accept the request without a defined Content-Length header.
247 412 Precondition Failed Error, HTTP, Reference, Status code
The HyperText Transfer Protocol (HTTP) 412 Precondition Failed client error response code indicates that access to the target resource has been denied. This happens with conditional requests on methods other than GET or HEAD when the condition defined by the If-Unmodified-Since or If-None-Match headers is not fulfilled. In that case, the request, usually an upload or a modification of a resource, cannot be made and this error response is sent back.
248 413 Payload Too Large Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 413 Payload Too Large response status code indicates that the request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field.
249 414 URI Too Long Client error, HTTP, Reference, Status code
The HTTP 414 URI Too Long response status code indicates that the URL requested by the client is longer than the server is willing to interpret.
250 415 Unsupported Media Type Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format.
251 416 Range Not Satisfiable Client error, HTTP, Status code
The HyperText Transfer Protocol (HTTP) 416 Range Not Satisfiable error response code indicates that a server cannot serve the requested ranges. The most likely reason is that the document doesn't contain such ranges, or that the Range header value, though syntactically correct, doesn't make sense.
252 417 Expectation Failed Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 417 Expectation Failed client error response code indicates that the expectation given in the request's Expect header could not be met.
253 418 I'm a teapot HTTP, HTTP Status Code, Reference
The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is a teapot. This error is a reference to Hyper Text Coffee Pot Control Protocol which was an April Fools' joke in 1998.
254 422 Unprocessable Entity Client error, HTTP, HTTP Status Code, Reference, Status code, WebDAV
The HyperText Transfer Protocol (HTTP) 422 Unprocessable Entity response status code indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.
255 425 Too Early Browser, Client error, HTTP, Status code
The HyperText Transfer Protocol (HTTP) 425 Too Early response status code indicates that the server is unwilling to risk processing a request that might be replayed, which creates the potential for a replay attack.
256 426 Upgrade Required Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 426 Upgrade Required client error response code indicates that the server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.
257 428 Precondition Required Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 428 Precondition Required response status code indicates that the server requires the request to be conditional.
258 429 Too Many Requests Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time ("rate limiting").
259 431 Request Header Fields Too Large Client error, HTTP, HTTP Status Code, Reference, Status code
The HTTP 431 Request Header Fields Too Large response status code indicates that the server refuses to process the request because the request’s HTTP headers are too long.
260 451 Unavailable For Legal Reasons Client error, HTTP, Reference, Status code
The HyperText Transfer Protocol (HTTP) 451 Unavailable For Legal Reasons client error response code indicates that the user requested a resource that is not available due to legal reasons, such as a web page for which a legal action has been issued.
261 500 Internal Server Error HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
262 501 Not Implemented HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 501 Not Implemented server error response code means that the server does not support the functionality required to fulfill the request.
263 502 Bad Gateway HTTP, Server error, Status code
The information shown below has been pulled from MDN's GitHub (https://github.com/mdn/browser-compat-data).
264 503 Service Unavailable 503 error, HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle the request.
265 504 Gateway Timeout HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 504 Gateway Timeout server error response code indicates that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request.
266 505 HTTP Version Not Supported HTTP, Reference, Server error, Status code
The HyperText Transfer Protocol (HTTP) 505 HTTP Version Not Supported response status code indicates that the HTTP version used in the request is not supported by the server.
267 506 Variant Also Negotiates HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 506 Variant Also Negotiates response status code may be given in the context of Transparent Content Negotiation (see RFC 2295). This protocol enables a client to retrieve the best variant of a given resource, where the server supports multiple variants.
268 507 Insufficient Storage HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 507 Insufficient Storage response status code may be given in the context of the Web Distributed Authoring and Versioning (WebDAV) protocol (see RFC 4918).
269 508 Loop Detected 508, HTTP, Server error, Status code
The HyperText Transfer Protocol (HTTP) 508 Loop Detected response status code may be given in the context of the Web Distributed Authoring and Versioning (WebDAV) protocol.
270 511 Network Authentication Required HTTP, HTTP Status Code, Reference, Server error, Status code
The HTTP 511 Network Authentication Required response status code indicates that the client needs to authenticate to gain network access.
271 Link prefetching FAQ Gecko, HTML, HTTP, Link, Necko, Performance, Prefetch, Web Development
Link prefetching is a browser mechanism, which utilizes browser idle time to download or prefetch documents that the user might visit in the near future. A web page provides a set of prefetching hints to the browser, and after the browser is finished loading the page, it begins silently prefetching specified documents and stores them in its cache. When the user visits one of the prefetched documents, it can be served up quickly out of the browser's cache.
272 Protocol upgrade mechanism Guide, HTTP, HTTP/2, Networking, Protocols, Upgrade, WebSocket, WebSockets
The HTTP/1.1 protocol provides a special mechanism that can be used to upgrade an already established connection to a different protocol, using the Upgrade header field.
273 Proxy servers and tunneling HTTP, HTTP Tunneling, Proxies, Proxy
When navigating through different networks of the Internet, proxy servers and HTTP tunnels are facilitating access to content on the World Wide Web. A proxy can be on the user's local computer, or anywhere between the user's computer and a destination server on the Internet. This page outlines some basics about proxies and introduces a few configuration options.
274 Proxy Auto-Configuration (PAC) file Necko, Networking, PAC, Proxy
A Proxy Auto-Configuration (PAC) file is a JavaScript function that determines whether web browser requests (HTTP, HTTPS, and FTP) go directly to the destination or are forwarded to a web proxy server. The JavaScript function contained in the PAC file defines the function:
275 Redirections in HTTP Guide, HTTP, redirects
URL redirection, also known as URL forwarding, is a technique to give a page, a form, or a whole Web application, more than one URL address. HTTP provides a special kind of response, called HTTP redirect, to perform this operation and is used for numerous goals: temporary redirection while site maintenance is ongoing, permanent redirection to keep external links working after a change of the site's architecture, progress pages when uploading a file, and so on.
276 Resources and URIs HTTP, MIME, MIME Type, Overview, Type, URI, URIs, URL, resources, urls
HTTP allows a browser, or another user agent, to a communicate with different resources on Internet: to do this the browser needs both the identity and the location of the resources. These two bits of information are described by a URI.
277 Server-Side Access Control (CORS) CORS, HTTP, PHP
Access control systems perform authorization identification, authentication, access approval, and accountability of entities through login credentials including passwords, personal identification numbers (PINs), biometric scans, and physical or electronic keys.