Çì´õÁ¤º¸ º¸±â
<%@ page contentType="text/html; charset=euc-kr" %>
<% java.util.Enumeration enum = request.getHeaderNames();
while (enum.hasMoreElements()) { String name = (String)enum.nextElement(); out.println(name + " : "+ request.getHeader(name)+"<br>");}%>
·ÎÄÿ¡¼ µ¹·Áº¸´Ï ´ÙÀ½°ú °°Àº °á°ú°¡ ³ª¿É´Ï´Ù
accept : */*accept-language : koaccept-encoding : gzip, deflateuser-agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; i-NavFourF)host : localhostconnection : Keep-Alivecookie : UID=XXXL; JSESSIONID=303D0453D1C1B2A8C94CD5909XXXXX
Allow
Request-URI
POST
Allow = "Allow" ":" 1#method
Allow: GET, HEAD
A proxy must not modify the Allow header field even if it does not understand all the methods specified, since the user agent may have other means of communicating with the origin server.
The Allow header field does not indicate what methods are implemented by the server.
Authorization
credentials
Authorization = "Authorization" ":" credentials
realm
Responses to requests containing an Authorization field are not cachable.
Content-Encoding
media-type
Content-Type
Content-Encoding = "Content-Encoding" ":" content-coding
Content-Encoding: x-gzip
Content-Length
Entity-Body
HEAD
GET
Content-Length = "Content-Length" ":" 1*DIGIT
Content-Length: 3495
Any Content-Length greater than or equal to zero is a valid value. Section 7.2.2 describes how to determine the length of a response entity body if a Content-Length is not given.
Note: The meaning of this field is significantly different from the corresponding definition in MIME, where it is an optional field used within the "message/external-body" content-type. In HTTP, it should be used whenever the entity's length can be determined prior to being transferred.
Content-Type = "Content-Type" ":" media-type
Content-Type: text/html
Date
orig-date
HTTP-date
Date = "Date" ":" HTTP-date
Date: Tue, 15 Nov 1994 08:12:31 GMT
In theory, the date should represent the moment just before the entity is generated. In practice, the date can be generated at any time during the message origination without affecting its semantic value.
Note: An earlier version of this document incorrectly specified that this field should contain the creation date of the enclosed Entity-Body. This has been changed to reflect actual (and proper) usage.
Expires
Expires = "Expires" ":" HTTP-date
Expires: Thu, 01 Dec 1994 16:00:00 GMT
The Expires field cannot be used to force a user agent to refresh its display or reload a resource; its semantics apply only to caching mechanisms, and such mechanisms need only check a resource's expiration status when a new request for that resource is initiated.
User agents often have history mechanisms, such as "Back" buttons and history lists, which can be used to redisplay an entity retrieved earlier in a session. By default, the Expires field does not apply to history mechanisms. If the entity is still in storage, a history mechanism should display it even if the entity has expired, unless the user has specifically configured the agent to refresh expired history documents.
Note: Applications are encouraged to be tolerant of bad or misinformed implementations of the Expires header. A value of zero (0) or an invalid date format should be considered equivalent to an "expires immediately." Although these values are not legitimate for HTTP/1.0, a robust implementation is always desirable.
From
mailbox
From = "From" ":" mailbox
From: webmaster@w3.org
method
The Internet e-mail address in this field may be separate from the Internet host which issued the request. For example, when a request is passed through a proxy, the original issuer's address should be used.
Note: The client should not send the From header field without the user's approval, as it may conflict with the user's privacy interests or their site's security policy. It is strongly recommended that the user be able to disable, enable, and modify the value of this field at any time prior to a request.
If-Modified-Since
If-Modified-Since = "If-Modified-Since" ":" HTTP-date
If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
Last-Modified
Last-Modified = "Last-Modified" ":" HTTP-date
Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
An origin server must not send a Last-Modified date which is later than the server's time of message origination. In such cases, where the resource's last modification would indicate some time in the future, the server must replace that date with the message origination date.
Location = "Location" ":" absoluteURI
Location: http://www.w3.org/hypertext/WWW/NewLocation.html
Pragma
Pragma = "Pragma" ":" 1#pragma-directive
pragma-directive = "no-cache" | extension-pragma extension-pragma = token [ "=" word ]
no-cache
Pragma directives must be passed through by a proxy or gateway application, regardless of their significance to that application, since the directives may be applicable to all recipients along the request/response chain. It is not possible to specify a pragma for a specific recipient; however, any pragma directive not relevant to a recipient should be ignored by that recipient.
Referer
Referer = "Referer" ":" ( absoluteURI | relativeURI )
Referer: http://www.w3.org/hypertext/DataSources/Overview.html
Note: Because the source of a link may be private information or may reveal an otherwise private information source, it is strongly recommended that the user be able to select whether or not the Referer field is sent. For example, a browser client could have a toggle switch for browsing openly/anonymously, which would respectively enable/disable the sending of Referer and From information.
Server
Server = "Server" ":" 1*( product | comment )
Server: CERN/3.0 libwww/2.17
Note: Revealing the specific software version of the server may allow the server machine to become more vulnerable to attacks against software that is known to contain security holes. Server implementors are encouraged to make this field a configurable option.
Note: Some existing servers fail to restrict themselves to the product token syntax within the Server field.
User-Agent
User-Agent = "User-Agent" ":" 1*( product | comment )
User-Agent: CERN-LineMode/2.15 libwww/2.17b3
Note: Some current proxy applications append their product information to the list in the User-Agent field. This is not recommended, since it makes machine interpretation of these fields ambiguous.
Note: Some existing clients fail to restrict themselves to the product token syntax within the User-Agent field.
WWW-Authenticate
challenge
WWW-Authenticate = "WWW-Authenticate" ":" 1#challenge
The HTTP access authentication process is described in Section 11. User agents must take special care in parsing the WWW-Authenticate field value if it contains more than one challenge, or if more than one WWW-Authenticate header field is provided, since the contents of a challenge may itself contain a comma-separated list of authentication parameters.
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html
ÁÁÀº»ý°¢ ^^