http://www.ietf.org/home.html
This appendix has the following sections:
http://www.ietf.org/html.charters/http-charter.html
GET
--Requests the specified resource (such as a document or image)HEAD
--Requests only the header information for the documentPOST
--Requests that the server accept some data from the browser, such as form input for a CGI programPUT
--Replaces the contents of a server's document with data from the browserTable 6.4 Common request headers
Request header |
Description
|
|
|
| The Internet host and port number of the resource being requested. |
---|
POST
or PUT
request, it sends data after the blank line following the request headers. If the browser sends a GET
or HEAD
request, there is no data to send.
Table 6.5 Common HTTP status codes
Status code |
Meaning
|
|
| Unauthorized. The user requested a document but didn't provide a valid username or password.
|
|
| |
---|
Table 6.6 Common response headers
Response header |
Description
|
|
|
|
|
|
| |
---|
content-length
header so that client can detect the end of the response and re-use the connection for subsequent requests.content-length
header to convey the delineation information. If the client only understands HTTP 1.0, the server must close the connection to indicate the end of the response.set-cookie
).POST
request data, this feature is mandatory for HTTP 1.1 compliance.content-length
header, the server had to close the connection to indicate the end of the response, breaking the keep-alive mechanism. However, it is often very inconvenient to keep track of response length in CGI scripts or servlets, and as an application platform provider, the web server is expected to handle such low-level protocol issues.
Output buffering has been built in to the functions that get data, which are net_read
and netbuf_grab
(see Chapter 5, "NSAPI Function Reference"). To specify parameters that affect stream buffering, you can set the following variables, which are described in detail in Appendix B, "Variables in magnus.conf."
To override the default parameters when invoking a SAF that uses one of the functions net_read
or netbuf_grab
, you would specify the value of the parameter in obj.conf
, for example:
Service fn="my-service-saf" type=perf UseOutputStreamSize=8192
Last Updated: 03/01/00 09:22:25
© Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
[an error occurred while processing this directive]