Otherwise it returns a pid to the caller figure a3

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: request body, which contains the requested content. 12.7. WEB SERVERS Status code 200 301 400 403 404 501 505 Status Message OK Moved permanently Bad request Forbidden Not found Not implemented HTTP version not supported Description Request was handled without error. Content has moved to the hostname in the Location header. Request could not be understood by the server. Server lacks permission to access the requested file. Server could not find the requested file. Server does not support the request method. Server does not support version in request. 651 Figure 12.42: Some HTTP status codes. 12.7.4 Serving Dynamic Content If we stop to think for a moment how a server might provide dynamic content to a client, certain questions arise. For example, how does the client pass any program arguments to the server? How does the server pass these arguments to the child process that it creates? How does the server pass other information to the child that it might need to generate the content? Where does the child send its output? These questions are addressed by a de facto standard called CGI (Common Gateway Interface). How Does the Client Pass Program Arguments to the Server? Arguments for GET requests are passed in the URI. E...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online