HTTP-заголовки: описание, параметры, особенности и рекомендации

() . , . HTTP, HTML-.

http headers




HTTP-

HTTP – HTML- . 1990 .

HTTP- – , . . , (, , , . .). , (Apache, Nginx, LiteSpeed . .). .

, google.com, . HTTP- :

google.com

Google Chrome

HTML-

HTTP

:

,

Apache

27.05.2017

UTF-8

(, )

HTML- .





HTTPS

HTTP- HTTPS-. . SSL- . , .

( ). , HTTP-. RSA. (, . .).

HTTP-

HTTP- . – Date, Cookie, Host, Server . . HTTP- . -.

HTTP- :

  • Firebug.
  • Live HTTP Headers.
  • HTTP headers.

- :

  • Bertal.ru.
  • stupid.su.
  • Speed-Tester.Info.

. 100–200 , - . , online .

HTTP- :

  • (General headers) – ;
  • (Request headers) – ;
  • (Response headers) – ;
  • (Entity headers) – .

, . , . . :





POST

/c840024/upload.php

HTTP/1.1

Host URL- . . :

  • GET – ( ).
  • POST – ( ).
  • HEAD – , GET, .
  • PUT – URL;

– User Agent, Cookie . . HTTP. 1.0 .

http browser header




, , . :

http request headers




( ) HTTP- Host, Referer, User Agent Accept.

, . .

HTTP- –

, . php HTTP- header(). , :

header('Location: http://www.site.com/').

. :

http server headers




. .

, , ( HTML-). . .

Entity Headers




Last-Modified. , . , . :

: " 16.05.2016, ?"

: ", 19.03.2017, ."

.

HTTP

HTTP

1.1

200

OK

, .

http- .

view http headers




header().

, . , . .

, header(«http/1.1 200 Ok»).

expiration headers




, . . . , .

, , . , . , .

, HTTP . , , . , .

SEO- HTTP. Last-Modified. , - . Expires. Cache-Control, .

. Yandex Google . - . , , .

Last-Modified , , - . , . .

URL-

URL- . , . :

  • ;
  • ;
  • ;
  • HTTP- ( GET);
  • query-.

HTTP, PHP . . . SQL- .

indicate the date in the http headers




URL – . - . , . SEO- URL .




All Articles