Flashcards
HTTP + Web etc.
Cards in this deck (44)
- 1What is a user agent?An application acting on behalf of the user.
Generally, but not limited to, a browser. - 2User agent, aka:Client Agent
- 3TCP - Definition - In layman terms- Transfer Control Protocol
- One of the main protocols on the web. If you're connecting to a service on the web, you're likely using a TCP connection. - 4IP - Definition - Layman's- Internet Protocol
- Protocol used to actually transfer data over the web - 5URL - Definition - Layman- Uniform Resource Locator
- An address pointing at a resource on the web. - 6DNS - Definition - Layman- Domain Name Server
- Points to the IP address of the server - 7Server - What they run (2)Data Storage + Sharing Application (most commonly a web server application)
- 8ProxySoftware or Hardware, acting as a middleman between clients and servers
- 9Request response pairsA request is sent, a response is returned
- 10HTTP HeadersUsed in the request/response pair relationship to pass information back and forth. Every request and response has one.
- 11HTTP Request Method/VerbEvery HTTP request contains a method explaining the action the sender wants to perform on the resource
- 12Status Response CodeNumerical Code in the 100-500 range describing what type of response the server sent back to the client
- 13CacheMethod of storing data on the client or server to speed up performance
- 14Stateless, in terms of HTTPThere is no link between two requests sent between the client and the server
- 15CookiesA string of data passed between the client and the server to create a state-full connection.
- 16SessionClients/Servers pass info on their current state back and forth to each other, creating a session.
- 17NameserversDirect to the domain name to the IP address
- 18Top Level Domain (TLD)- Provide info about the general purpose of the site
- .com, .org, .gov etc. - 19Secondary Level DomainLabel right before '.com'
- 20Subdomain- Part of the larger domain, generally used to create a subsection of the website
- ex: subdomain.mysite.com - 21RegistrarOrganization that manages the reservation of domain names
- 22Country Codes - Layman - Where in url- Each country has a 2 letter code to represent them
- Some act as TLDs, sometimes as a SLDs - 23URL: Protocol Declaration- Declares HOW we are accessing the resource
- 24URL: URN- Universal Resource Name
- Provides the location of the resource - 25URL: Host- aka Domain
- 26URL: Resource Path- The location of the file within the server
- 27URL: Host - Locationex: mysite.com
- 28URL: URN - LocationAfter the protocol
( after 'https://' ) - 29URL : Resource Path - LocationAfter '.com'
ex: mysite.com/info/jim-info/hello.htm - 30URL - URL Query- One or more queries that can perform further actions on the server (optional)
- Start with a '?', then each is comprised of an argument and a value.
- If +1, '&' strings them together
ex: ?u=1234 ex2: ?a=111&b=222 - 31URL: URL Query - Location- After the resource path
site.com/about/me.htm?u=456&b=222 - 32HTTP Method: GET- Get the specified resource, if available
- Only needs the method and the URL to work (though an authorization header is possible) - 33HTTP Method: POST- Create a new resource and add it to a collection in the server
- Typically needs an authorization header - 34HTTP Methods: PUT- Update an existing resource (in the server)
- Typically needs authorization header - 35HTTP Methods: PUT - If no resourceIf the resource that PUT is trying to change does not exist, the server may allow that resource to be created, or may send an error message. Depends on the server.
- 36HTTP Methods: PATCH- Modify an existing resource
- Unlike PUT, which replaces content, PATCH can modify content without necessarily replacing it
- Typically requires auth - 37HTTP Methods: DELETE- Deletes a resource
- 38HTTP Methods: DELETE - Server actionDepending on how the server is configured, a delete request may... :
- Delete a database entry
- Change the status of a database entry without actually removing content - 39HTTP Methods: HEAD- Returns just the head section of the response
- 40HTTP Status Code - 1xxInformation
- Rarely encoutnered - 41HTTP Status Code - 2xxSuccess
- 42HTTP Status Code - 3xxRedirection
- 43HTTP Status Code - 4xxClient Error
- 44HTTP Status Code - 5xxServer Error