{"id":83142,"date":"2020-05-29T01:41:57","date_gmt":"2020-05-28T23:41:57","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera"},"modified":"2020-05-29T01:41:57","modified_gmt":"2020-05-28T23:41:57","slug":"servis-proverki-http-zagolovkov-servera","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera","title":{"rendered":"A szerver HTTP fejl\u00e9cellen\u0151rz\u0151 szolg\u00e1ltat\u00e1sa","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>B\u00e1rmely webhely sz\u00e1m\u00e1ra fontos a HTTP-fejl\u00e9cek helyes be\u00e1ll\u00edt\u00e1sa. A fejl\u00e9cekr\u0151l sok cikket \u00edrtak. Itt \u00f6sszefoglaltuk a felhalmozott tapasztalatokat \u00e9s az RFC-dokument\u00e1ci\u00f3t. N\u00e9h\u00e1ny fejl\u00e9cre k\u00f6telez\u0151, n\u00e9h\u00e1ny m\u00e1r elavult, m\u00e1sok zavart \u00e9s ellentmond\u00e1sokat okozhatnak. K\u00e9sz\u00edtett\u00fcnk egy m\u00e9r\u0151t a <noindex><a rel=\"nofollow\" href=\"https:\/\/http.itsoft.ru\">webszerver HTTP-fejl\u00e9ceinek automatikus ellen\u0151rz\u00e9s\u00e9re.<\/a><\/noindex>A sok m\u00e1s szolg\u00e1ltat\u00e1shoz k\u00e9pest, amelyek egyszer\u0171en csak megmutatj\u00e1k a fejl\u00e9ceket, ez a szolg\u00e1ltat\u00e1s lehet\u0151v\u00e9 teszi:<\/p>\n<ol>\n<li>standard fejl\u00e9cek \u00e9rt\u00e9k\u00e9nek megad\u00e1s\u00e1t;<\/li>\n<li>saj\u00e1t egyedi fejl\u00e9cek hozz\u00e1ad\u00e1s\u00e1t;<\/li>\n<li>a HTTP-protokoll verzi\u00f3j\u00e1nak megad\u00e1s\u00e1t: 1.0, 1.1, 2 (ellen\u0151rzi, hogy t\u00e1mogatja-e a HTTP\/2-t);<\/li>\n<li>a k\u00e9r\u00e9s m\u00f3dszer\u00e9nek, v\u00e1rakoz\u00e1si id\u0151nek \u00e9s a postdata k\u00fcld\u00e9s\u00e9hez sz\u00fcks\u00e9ges adatoknak a megad\u00e1s\u00e1t a szerverre;<\/li>\n<li>a m\u00e9r\u0151 a If-Modified-Since, If-None-Match k\u00e9rd\u00e9sekre adott v\u00e1laszok helyess\u00e9g\u00e9t is ellen\u0151rzi, ha a szerver v\u00e1lasz\u00e1ban tal\u00e1lhat\u00f3 Last-Modified vagy ETag.<\/li>\n<\/ol>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nNem \u00e1ll\u00edtjuk, hogy mindenben igaza van. Egyes tartalmakra \u00e9s k\u00fcl\u00f6nb\u00f6z\u0151 projektekre term\u00e9szetesen lehetnek elt\u00e9r\u00e9sek. De ez a szolg\u00e1ltat\u00e1s pontosan megmutatja, mire \u00e9rdemes figyelni, lehet, hogy hasznos az \u00f6n fejl\u00e9ceinek szerkeszt\u00e9s\u00e9ben is. Az al\u00e1bbiakban egy lista arr\u00f3l, amit az ellen\u0151rz\u0151 szolg\u00e1ltat\u00e1s figyel. Mi\u00e9rt \u00edgy, olvassa el <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/search\/?q=%D0%B7%D0%B0%D0%B3%D0%BE%D0%BB%D0%BE%D0%B2%D0%BA%D0%B8#h\">a Habr cikkekben.<\/a><\/noindex>.<\/p>\n<h2>K\u00f6telez\u0151 fejl\u00e9cek<\/h2>\n<p><\/p>\n<ul>\n<li>D\u00e1tum<\/li>\n<li>Content-Type charset megad\u00e1s\u00e1val, a sz\u00f6veges tartalom eset\u00e9ben javasolt utf-8<\/li>\n<li>Content-Encoding t\u00f6m\u00f6r\u00edt\u00e9s a sz\u00f6veges tartalomhoz<\/li>\n<\/ul>\n<p><\/p>\n<h2>Elavult \u00e9s sz\u00fcks\u00e9gtelen fejl\u00e9cek<\/h2>\n<p><\/p>\n<ul>\n<li>Server a webszerver r\u00e9szletes verzi\u00f3j\u00e1val<\/li>\n<li>X-Power-By<\/li>\n<li>X_ASPNET-Version<\/li>\n<li>Expires<\/li>\n<li>Pragma<\/li>\n<li>P3P<\/li>\n<li>Via<\/li>\n<li>X-UA-Compatible<\/li>\n<\/ul>\n<p><\/p>\n<h2>Javasolt fejl\u00e9cek a biztons\u00e1g \u00e9rdek\u00e9ben<\/h2>\n<p><\/p>\n<ul>\n<li>X-Content-Type-Options<\/li>\n<li>X-XSS-Protection<\/li>\n<li>Strict-Transport-Security<\/li>\n<li>Referrer-Policy<\/li>\n<li>Feature-Policy<\/li>\n<li>Content-Security-Policy vagy Content-Security-Policy-Report-Only az be\u00e1gyazott szkriptek \u00e9s st\u00edlusok tilt\u00e1s\u00e1ra.<\/li>\n<\/ul>\n<p><\/p>\n<h2>Fejl\u00e9cek a gyors\u00edt\u00f3t\u00e1raz\u00e1s \u00e9rdek\u00e9ben<\/h2>\n<p>\nK\u00f6telez\u0151ek a statikus tartalom eset\u00e9ben, amely hossz\u00fa ideig gyors\u00edt\u00f3t\u00e1razhat\u00f3, \u00e9s rendk\u00edv\u00fcl k\u00edv\u00e1natosak a dinamikus tartalom eset\u00e9ben, amely r\u00f6vid ideig gyors\u00edt\u00f3t\u00e1razhat\u00f3.<\/p>\n<ul>\n<li>Last-Modified<\/li>\n<li>ETag<\/li>\n<li>Cache-Control<\/li>\n<li>Vary <\/li>\n<li>Fontos, hogy a szerver helyesen v\u00e1laszoljon a fejl\u00e9cekre: If-Modified-Since \u00e9s If-None-Match.<\/li>\n<\/ul>\n<p><\/p>\n<h2>HTTP\/2<\/h2>\n<p>\nMost a szervernek t\u00e1mogatnia kell a HTTP\/2-t. Alap\u00e9rtelmez\u00e9s szerint a szolg\u00e1ltat\u00e1s ellen\u0151rzi a szerver m\u0171k\u00f6d\u00e9s\u00e9t HTTP\/2 alatt. Ha a szervere nem t\u00e1mogatja a HTTP\/2-t, v\u00e1lassza a HTTP\/1.1-et.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/504220\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0432\u0430\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438. \u041d\u0430 \u0442\u0435\u043c\u0443 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0435\u0439. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043e\u0431\u043e\u0431\u0449\u0438\u043b\u0438 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e RFC. \u041a\u0430\u043a\u0438\u0435-\u0442\u043e \u0438\u0437 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0435, \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u0443 \u0438 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0440\u0435\u0447\u0438\u044f. \u041c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0443\u0437\u043e\u043c\u0435\u0440\u043a\u0443 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438, \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442: \u0437\u0430\u0434\u0430\u0442\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-83142","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0432\u0430\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438. \u041d\u0430 \u0442\u0435\u043c\u0443 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0435\u0439. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043e\u0431\u043e\u0431\u0449\u0438\u043b\u0438 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e RFC.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0421\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0432\u0430\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438. \u041d\u0430 \u0442\u0435\u043c\u0443 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0435\u0439. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043e\u0431\u043e\u0431\u0449\u0438\u043b\u0438 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e RFC.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-05-28T23:41:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-28T23:41:57+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47HTTP-fejl\u00e9cek ellen\u0151rz\u0151 szolg\u00e1ltat\u00e1s | ProHoster","description":"B\u00e1rmely webhely sz\u00e1m\u00e1ra fontos a HTTP-fejl\u00e9cek helyes be\u00e1ll\u00edt\u00e1sa. A fejl\u00e9cekr\u0151l sok cikket \u00edrtak. Itt \u00f6sszefoglaltuk a felhalmozott tapasztalatokat \u00e9s az RFC-dokument\u00e1ci\u00f3t.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0421\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 | ProHoster","og:description":"\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0432\u0430\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438. \u041d\u0430 \u0442\u0435\u043c\u0443 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0435\u0439. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043e\u0431\u043e\u0431\u0449\u0438\u043b\u0438 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e RFC.","og:url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/servis-proverki-http-zagolovkov-servera","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-05-28T23:41:57+00:00","article:modified_time":"2020-05-28T23:41:57+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"83142","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:20:32","updated":"2022-09-28 02:17:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/83142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=83142"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/83142\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=83142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=83142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=83142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}