Flashcards in HTTP Anatomy Deck (7)
Diagram the anatomy of this HTTP url => https://dope.co.uk/blog/anatomy-of-a-url
We have a protocol, a domain name, and lastly a path to the content.
Diagram the anatomy of this HTTP url => https://video.google.co.uk:80/videoplay?docid=-7233421982=en#00h02m30s
We have a protocol, a subdomain then a domain. A port (http uses port 80, https uses 443), a path (index is searched for by default if file name not included) and a query (often followed by query parameters and used with dynamically generated pages), parameters and a fragment (content that follows and includes the pound sign).
Describe what an HTTP redirect is
http redirect or url redirect or url forwarding refers to the technique of making a web page available under more than one uniform resource locator address. An example would be having your .wordpress.com address found using a different url address.
Recall at least 3 common HTTP headers
expires, age, language, content-type, cookie, MIME type (.js, .docx, .c).
Describe the difference between an HTTP POST and GET
The HTTP POST method is used to send information to our db server. The HTTP GET is used to retrieve info from the db server using a URI.
Describe an HTTP cookie
An http cookie is a small piece of data stored on your browser from a website. It is used to track whether you are making more than one request and so the website administrators can track your session activity and keep certain features of the site persistent such as your cart information, log-in info, etc.