HTTP: význam a definícia sa jednoducho vysvetľujú
Pravdepodobne používate HTTP každý deň bez toho, aby ste presne vedeli, čo to znamená. Vysvetlujeme, čo znamená „HTTP“, čo robí a aké protokoly s tým súvisí.
To znamená HTTP
HTTP je tak prirodzene súčasťou internetu, že ho váš internetový prehliadač používa automaticky, aj keď ho výslovne nevyvoláte. O tom je všetko HTTP:
- HTTP znamená „HyperText Transfer Protocol“, protokol prenosu hypertextu.
- Webové prehliadače, ako napríklad Internet Explorer a Firefox, používajú protokol HTTP na zobrazenie webových stránok a odosielanie údajov na webové stránky.
- Prehliadače sú tzv. Klienti, weboví hostitelia so svojimi webovými servermi sú servery a prenášané údaje sa nazývajú správy.
- TCP používa ako prenosový protokol, ktorý segmentuje údaje a zabraňuje preťaženiu údajov.
- Aby sa vôbec nadviazalo spojenie so serverom, webová adresa, ktorú ste zadali, napríklad „//www.chip.de“, sa prevedie z menného servera na zodpovedajúcu IP, v tomto prípade „216.146.46.11. ", prevedené.
- Najbežnejšie verzie HTTP sú HTTP / 1.0 a HTTP / 1.1. HTTP / 2 sa čoraz viac používa aj od roku 2015.
- Po prepojení medzi serverom a klientom váš prehliadač zadá požiadavku prostredníctvom protokolu HTTP a server najskôr odpovie hlavami a potom telom správy. Jedná sa napríklad o požadovaný súbor HTML; webovú stránku, ktorú vidíte v prehliadači.
- Na rozdiel od protokolu HTTP je možné údaje prenášať šifrované pomocou protokolu HTTPS.
- Veľké množstvá údajov sa často nahrávajú a sťahujú zo serverov pomocou FTP.