WEB APP Flashcards
What is the difference between a web server and a Dynamic type of server?
Web server just serves out static content, whereas dynamic content can reference a back end data store and server active content; most modern web applications are considered dynamic servers, running content
What is an application server?
A server referenced by the web/dynamic server that executes code; things like Websphere, JBOSS, Weblogic, etc.
What was improved from HTTP 1.0 to 1.1?
caching support, extensions, bandiwth optimization, host header field
What is “push promise” ?
A feature of HTTP 2, it allows a web server to send content before the client has requested it. Like a predictive version of AJAX.
What is http multiplexing?
A feature of HTTP 2, it allows a server to request multiple sockets at once to requests resources in parallel, rather than “pipelining” it all through the same connection.
What moves HTTP to a text-based-on-the-wire type of connection to a binary form?
HTTP 2.0, which gives it better compression and reduces overhead/complexity
What string in an http request identifies the type of client software used to connect?
User-agent string. Describes the web client.
Where is the web server technology identified in an HTTP request?
the “server” field
What is Windows 7/2008 listed as in the user-agent string? Windows 8/2012?
NT 6.1 and NT 6.3
What is the difference between GET and POST?
Both request data from server, but GET uses the URL to pass parameters, POST uses the payload
Why is POST more secure than GET?
Parameters aren’t written to web server or proxy logs
What echoes an HTTP request as seen by the server back to a client, for diagnostics?
TRACE
What HTTP request asks the server to return the list of request methods it supports? (which can then be used for interchange)
OPTIONS
Method used when accessing the an application through a proxy server.
CONNECT
How does a CONNECT request work?
The client connects to the proxy, and the CONNECT request tells the server where to go to connect to the resource
What HTTP method is used for WebDAV attacks, and where are those type of systems usually found?
PUT, which lets you upload data to a resource that you specify. Found on intranet web servers, occasionally.
“Switching Protocols” HTTP status code
101 (info)
“redirect” HTTP status code
302
“Not modified” HTTP status code, and what is it for?
304; used to say that the content hasn’t changed, so the client can continue to use data that has been cached.
“Unauthorized” to access http status code (use authentication to access this)
401
Page not found HTTP status code
404
Server error HTTP status code series
5xx
Websockets were integrated with the __________ technology scheme
HTML5
This protocol establishes a bi-directional comm pipe over a SINGLE tcp socket
websocket