HTTP headers :: Origin

Home » Blog » Internet » HTTP headers :: Origin

The Origin Header is a response HTTP header that indicates the security contexts that initiates an HTTP request without indicating the path information. The Origin header is added by the and can not be controlled by the user.

Syntax:

Origin: <scheme> "://" <hostname> ":" <port> 

Directives:

  • <scheme>:
  • <hostname>:
  • <port>:

Examples:

Origin: null

This means that there is no origin for the service requested.

Origin: https://www.nettoolkit.net

This means that the origin if the service requested exists and has https as the scheme and www.geeksforgeeks.org as the hostname.

Supported Browsers The following browsers are compatible with HTTP Origin:

  • Google Chrome
  • Internet Explorer
  • Opera
  • Firefox
  • Safari

Leave a Comment

%d bloggers like this:
Read previous post:
HTTP headers :: Set-Cookie

The HTTP header Set-Cookie is a response header and used to send cookies from the server to the user agent. So the...

Close