| Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_HTTP , 13 of 59
This procedure sets the default character set of the body of all future HTTP requests when the media type is text and the character set is not specified in the Content-Type header. Following the HTTP protocol standard specification, if the media type of a request or a response is text, but the character set information is missing in the Content-Type header, the character set of the request or response body should default to ISO-8859-1. A response created for a request inherits the default body character set of the request instead of the body character set of the current session.
The default body character set is ISO-8859-1 in a database user session. The default body character set setting affects only future requests and has no effect on existing requests.
After a request is created, the body character set can be changed by using the other set_body_charset procedure that operates on a request.
UTL_HTTP.set_body_charset (charset IN VARCHAR2 DEFAULT NULL);
Table 78-15 shows the parameters for the SET_BODY_CHARSET procedure.
|
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|