{"id":4239,"date":"2020-10-30T21:15:43","date_gmt":"2020-10-30T20:15:43","guid":{"rendered":"https:\/\/webhosting.de\/?p=4239"},"modified":"2020-10-30T21:15:43","modified_gmt":"2020-10-30T20:15:43","slug":"http-status-codes-what-you-mean","status":"publish","type":"post","link":"https:\/\/webhosting.de\/pl\/http-status-codes-was-bedeuten-sie\/","title":{"rendered":"Kody statusu HTTP - co one oznaczaj\u0105?"},"content":{"rendered":"<p>Ka\u017cdego dnia miliony ludzi korzysta z Internetu do wszelkiego rodzaju rzeczy. Zazwyczaj wprowadzamy adres internetowy lub URL i otrzymujemy nasz <a href=\"https:\/\/webhosting.de\/pl\/eine-eigene-webseite-fuer-ihr-unternehmen-ja-oder-nein\/\">strona internetowa<\/a>. Czasami jednak pojawia si\u0119 b\u0142\u0105d. Strona nie jest wy\u015bwietlana i wy\u015bwietlany jest kod statusu, kt\u00f3ry wskazuje na b\u0142\u0105d. Wielu u\u017cytkownik\u00f3w nie rozumie jednak znaczenia tych kod\u00f3w, cho\u0107 m\u00f3wi\u0105 one wiele o tym, co si\u0119 wydarzy\u0142o.<\/p>\n<h2>Czym dok\u0142adnie s\u0105 kody statusu HTTP?<\/h2>\n<p>Kod statusu HTTP to kod, kt\u00f3ry jest wydawany przez serwer WWW do przegl\u0105darki internetowej w celu przes\u0142ania pewnych informacji. Kody te s\u0105 u\u017cywane g\u0142\u00f3wnie w celu poinformowania przegl\u0105darki o tym, jak post\u0119powa\u0107 z zapytaniem lub w celu udzielenia odpowiedzi na zapytanie. Zwyk\u0142y u\u017cytkownik zazwyczaj zauwa\u017ca taki kod statusu, gdy co\u015b nie dzia\u0142a. Jednym z najbardziej znanych kod\u00f3w stanu jest nie znaleziona strona Error 404. Jednak kod statusu jest wy\u015bwietlany nie tylko w przypadku wyst\u0105pienia b\u0142\u0119d\u00f3w. Nawet je\u015bli operacja zako\u0144czy\u0142a si\u0119 sukcesem, u\u017cytkownik jest przekierowywany, lub je\u015bli na serwerze wykonywane s\u0105 r\u00f3\u017cne inne akcje i dzia\u0142ania, s\u0105 one przekazywane do przegl\u0105darki w kontek\u015bcie kod\u00f3w stanu. W wi\u0119kszo\u015bci przypadk\u00f3w jednak ty, jako zwyk\u0142y u\u017cytkownik, nic nie zauwa\u017cysz.<\/p>\n<h3>Grupy kodu statusu<\/h3>\n<p>Wszystkie kody statusu HTTP s\u0105 podzielone na sze\u015b\u0107 grup, kt\u00f3re s\u0105 ponumerowane od jednej do sze\u015bciu i dziewi\u0119ciu, z kt\u00f3rych ka\u017cda odnosi si\u0119 do konkretnej kategorii komunikat\u00f3w. Generalnie grupy s\u0105 przydzielane w nast\u0119puj\u0105cy spos\u00f3b:<\/p>\n<p>* 1xx wyj\u015b\u0107 informacje og\u00f3lne<br \/>\n* 2xx zawiera kody dla udanych operacji<br \/>\n* 3xx zawiera kody do przekierowania i spedycji<br \/>\n* 4xx jest odpowiedzialny za b\u0142\u0119dy klienta<br \/>\n* 5xx jest odpowiedzialny za b\u0142\u0119dy serwera<br \/>\n* 9xx wyj\u015b\u0107 b\u0142\u0119dy w\u0142asno\u015bciowe<\/p>\n<p>Te sze\u015b\u0107 grup zawiera wszystkie kody stanu dla protoko\u0142u HTTP. Ka\u017cda grupa zawiera inn\u0105 liczb\u0119 kod\u00f3w, kt\u00f3re wskazuj\u0105 konkretn\u0105 sytuacj\u0119, stan lub status.<\/p>\n<h3>Grupa 1xx - Informacje og\u00f3lne<\/h3>\n<p>Grupa ta sk\u0142ada si\u0119 z trzech status\u00f3w, a mianowicie kod\u00f3w statusu 100, 101 i 102, kt\u00f3re s\u0105 odpowiedzialne za dostarczanie og\u00f3lnych informacji i notatek. Na przyk\u0142ad, kod 100 zwraca do przegl\u0105darki polecenie Kontynuuj, informuj\u0105c j\u0105, \u017ce mo\u017ce ono by\u0107 kontynuowane przy potencjalnie du\u017cym i ci\u0119\u017ckim \u017c\u0105daniu serwera. Z kolei kod 101 m\u00f3wi przegl\u0105darce, \u017ce protok\u00f3\u0142 jest zmieniany, np. przy prze\u0142\u0105czaniu z HTTP na FTP itp. Wreszcie, kod 102 oznacza Przetwarzanie i informuje przegl\u0105dark\u0119, \u017ce \u017c\u0105danie jest nadal aktywnie przetwarzane. W ten spos\u00f3b zapobiega si\u0119 przekroczeniu limitu czasu. Kody z tej kategorii s\u0105 u\u017cywane wy\u0142\u0105cznie do komunikacji z przegl\u0105dark\u0105, wi\u0119c zazwyczaj nic nie zauwa\u017casz.<\/p>\n<h3>Grupa 2xx - Skuteczna dzia\u0142alno\u015b\u0107<\/h3>\n<p>Te kody maj\u0105 charakter czysto informacyjny. Stany w tej kategorii daj\u0105 prost\u0105 informacj\u0119 zwrotn\u0105, np. OK, \u017ce formularz zosta\u0142 przes\u0142any, lub \u017ce strona celowo nie zawiera \u017cadnej tre\u015bci. W wi\u0119kszo\u015bci przypadk\u00f3w, jako normalny u\u017cytkownik, nie zauwa\u017casz tych kod\u00f3w i nie potrzebujesz ich.<\/p>\n<h3>Grupa 3xx - Spedycja<\/h3>\n<p>Grupa 300 kod\u00f3w zajmuje si\u0119 wy\u0142\u0105cznie dywersjami. Zawieraj\u0105 one informacje zwrotne, na przyk\u0142ad na temat sta\u0142ego przekierowania, korzystania z proxy, itp. Ich g\u0142\u00f3wnym celem jest poinformowanie przegl\u0105darki o tych przekierowaniach i wskazanie w\u0142a\u015bciwego adresu URL lub \u015bcie\u017cki. Jako u\u017cytkownik, zwykle nie dostaniesz nic lub bardzo ma\u0142o z kod\u00f3w statusu tej grupy.<\/p>\n<h3>Grupa 4xx - B\u0142\u0105d klienta<\/h3>\n<p>Grupa 400 jest pierwsz\u0105 grup\u0105, kt\u00f3ra zajmuje si\u0119 aktualnymi komunikatami o b\u0142\u0119dach. W tym przypadku s\u0105 to b\u0142\u0119dy klienta, czyli problemy spowodowane przez klienta, czyli przegl\u0105dark\u0119 internetow\u0105, lub b\u0142\u0119dy wywo\u0142ane przez klienta. Liczba r\u00f3\u017cnych kod\u00f3w b\u0142\u0119d\u00f3w jest znaczna, ale zwyk\u0142y u\u017cytkownik zazwyczaj napotyka g\u0142\u00f3wnie trzy kody z tej grupy, a mianowicie 400, 403 i 404.<\/p>\n<p>B\u0142\u0105d 400 - Z\u0142e \u017c\u0105danie oznacza b\u0142\u0119dne \u017c\u0105danie. Tutaj przegl\u0105darka za\u017c\u0105da\u0142a funkcji lub strony. Jednak\u017ce \u017c\u0105danie by\u0142o nieprawid\u0142owo skonstruowane i dlatego nie mog\u0142o zosta\u0107 wykonane przez serwer. Cz\u0119sto te\u017c dostajesz B\u0142\u0105d 403 - Niedozwolony. Ten b\u0142\u0105d pojawia si\u0119 zawsze, gdy wchodzisz na stron\u0119 internetow\u0105, do kt\u00f3rej nie masz dost\u0119pu. Na przyk\u0142ad, je\u015bli chcesz uzyska\u0107 dost\u0119p do katalogu na serwerze bez odpowiednich praw lub wprowadzi\u0107 niew\u0142a\u015bciwe dane dost\u0119pu w zapytaniu .htaccess, otrzymasz ten komunikat o b\u0142\u0119dzie. Zdecydowanie najcz\u0119stszym b\u0142\u0119dem jest b\u0142\u0105d 404 - Nie znaleziono. Za ka\u017cdym razem, gdy wprowadzasz nieprawid\u0142ow\u0105 lub b\u0142\u0119dn\u0105 stron\u0119 internetow\u0105, odpowiedzi\u0105 jest B\u0142\u0105d 404.<\/p>\n<h3>Grupa 5xx - B\u0142\u0105d serwera<\/h3>\n<p>Je\u015bli grupa 400 oznacza b\u0142\u0119dy klienta, czyli b\u0142\u0119dy spowodowane przez przegl\u0105dark\u0119 internetow\u0105, to grupa 500 oznacza co\u015b zupe\u0142nie przeciwnego. Zwraca komunikaty o b\u0142\u0119dach, kt\u00f3re zosta\u0142y wywo\u0142ane przez serwer lub spowodowane na serwerze. Prawdopodobnie najbardziej znanym b\u0142\u0119dem jest Error 500 - Internal Server Error. Jest to zbiorczy komunikat b\u0142\u0119du dla szeregu b\u0142\u0119d\u00f3w serwera, kt\u00f3re nie posiadaj\u0105 w\u0142asnego kodu i nie s\u0105 szczeg\u00f3\u0142owo okre\u015blone. Inne cz\u0119sto wyst\u0119puj\u0105ce b\u0142\u0119dy serwera to b\u0142\u0105d 502 Bad Gateway, np. gdy u\u017cywany jest z\u0142y serwer proxy lub przekierowanie nie powiod\u0142o si\u0119, oraz b\u0142\u0105d 503 Service Unavailable, gdy serwer jest tymczasowo niedost\u0119pny, np. z powodu konserwacji. Czasami napotkasz r\u00f3wnie\u017c b\u0142\u0105d 504 Gateway Timeout, kt\u00f3ry informuje, \u017ce po\u0142\u0105czenie zosta\u0142o przerwane z powodu przekroczenia limitu czasu. Szczeg\u00f3lnie na wa\u017cnych stronach internetowych lub ofertach specjalnych, cz\u0119\u015bciej napotkasz Error 509 - Bandwidth Limit Exceeded. Komunikat ten wskazuje, \u017ce \u017c\u0105danie zosta\u0142o przerwane, poniewa\u017c w przeciwnym razie <a href=\"https:\/\/webhosting.de\/pl\/bandbreite\/\">Szeroko\u015b\u0107 pasma<\/a> serwer zosta\u0142by przekroczony.<\/p>\n<h3>Grupa 9xx - Komunikaty o statusie w\u0142asno\u015bci<\/h3>\n<p>Grupa 900 jest ca\u0142kowicie zarezerwowana dla w\u0142asnych, tzw. w\u0142asnych komunikat\u00f3w o b\u0142\u0119dach. To powinien by\u0107 serwer <a href=\"https:\/\/webhosting.de\/pl\/schutz-der-identitaet-fuer-administratoren\/\">Administratorzy<\/a> i webmaster\u00f3w do tworzenia i u\u017cywania w\u0142asnych komunikat\u00f3w o b\u0142\u0119dach i kod\u00f3w statusu. Z tego powodu wykorzystanie status\u00f3w mo\u017ce si\u0119 r\u00f3\u017cni\u0107 w zale\u017cno\u015bci od serwera i od konfiguracji do konfiguracji. W zwi\u0105zku z tym nie mo\u017cna r\u00f3wnie\u017c poda\u0107 wyja\u015bnienia kod\u00f3w ani informacji o tym, jakie kody s\u0105 stosowane.<\/p>","protected":false},"excerpt":{"rendered":"<p>T\u00e4glich wird das Internet von Millionen von Menschen f\u00fcr alle m\u00f6glichen Dinge genutzt. In der Regel geben wir dabei eine Internetadresse oder URL ein und erhalten unsere Webseite. Manchmal kommt es jedoch zu einem Fehler. Die Webseite wird nicht angezeigt und ein Status Code wird ausgegeben, der auf den Fehler hinweist. Vielen Usern ist jedoch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1061,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"categories":[676],"tags":[264,265],"class_list":["post-4239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server_vm","tag-error-500","tag-http-status-code"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":null,"rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":"http-status","_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":null,"_edit_lock":null,"_oembed_e7b913c6c84084ed9702cb4feb012ddd":null,"_oembed_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_03514b67990db061d7c4672de26dc514":null,"_oembed_time_03514b67990db061d7c4672de26dc514":null,"rank_math_news_sitemap_robots":"index","rank_math_robots":["index"],"_eael_post_view_count":"5437","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":"http-status-koodid-mida-midas-nei-ei-maergivad","_trp_automatically_translated_slug_lv":"http-status-codes-what-do-they-mean","_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":"http-status-codes-what-do-they-mean","_trp_automatically_translated_slug_ja":"http-status-codes-%e3%81%a9%e3%81%86%e3%81%84%e3%81%86%e6%84%8f%e5%91%b3%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f","_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":"default","_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_time_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_time_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_59808117857ddf57e478a31d79f76e4d":null,"_oembed_time_59808117857ddf57e478a31d79f76e4d":null,"_oembed_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_81002f7ee3604f645db4ebcfd1912acf":null,"_oembed_time_81002f7ee3604f645db4ebcfd1912acf":null,"_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":["tp-video-player"],"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":"922","rank_math_internal_links_processed":null,"_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":["webhostinglogo.png"],"litespeed_vpi_list_mobile":["webhostinglogo.png"],"rank_math_seo_score":null,"rank_math_contentai_score":null,"ilj_limitincominglinks":null,"ilj_maxincominglinks":null,"ilj_limitoutgoinglinks":null,"ilj_maxoutgoinglinks":null,"ilj_limitlinksperparagraph":null,"ilj_linksperparagraph":null,"ilj_blacklistdefinition":null,"ilj_linkdefinition":["http-status-codes - was bedeuten sie?","http-status"],"_eb_reusable_block_ids":null,"rank_math_focus_keyword":"http-status","rank_math_og_content_image":null,"_yoast_wpseo_metadesc":"Die Webseite wird nicht angezeigt und ein Status Code wird ausgegeben, der auf den Fehler hinweist.","_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":"Die Webseite wird nicht angezeigt und ein Status Code wird ausgegeben, der auf den Fehler hinweist.","surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"1061","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/posts\/4239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/comments?post=4239"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/posts\/4239\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/media\/1061"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/media?parent=4239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/categories?post=4239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/pl\/wp-json\/wp\/v2\/tags?post=4239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}