Cisco Cisco IOS Software Release 12.2(4)XR

Page de 68
Cisco IOS WAP Gateway with WTLS Class 2 Support
Configuration Tasks
10
Cisco IOS WAP Gateway with WTLS Class 2 Support  
Setting the Maximum HTTP Header Length
The WAP gateway builds HTTP headers using comma-separated values to request information from web 
content servers. When a web content server cannot handle a long line of text, use the wap http 
maximum header-length
 command to force line wrapping of HTTP headers.
To specify the maximum HTTP header length, use the following command beginning in global 
configuration mode:
Configuring Support for UP Browsers
The Cisco IOS WAP Gateway with WTLS Class 2 Support feature contains commands to provide 
compatibility with Unwired Planet (UP) v4.0 browsers. When a UP browser on the wireless device starts, 
it requests a string of characters (known as “device:home”) instead of a URL. Subsequent page requests 
specify another string of characters (known as “device:base”). Using the wap up-browser device-home 
and the wap up-browser device-base commands, the WAP gateway translates the requests into 
previously configured URLs. 
The wap up-browser subno-suffix command allows a gateway tag, identifying the WAP gateway, to be 
supplied to a header field request from a UP browser.
Router(config)# wap wtls timeout connection seconds
Specifies an interval (in seconds) after which an 
inactive WTLS connection will be closed by the 
gateway.
Router(config)# wap wtls timeout handshake seconds
Specifies an interval (in seconds) that the gateway 
allows for the WTLS handshake process to 
complete.
Router(config)# wap wtls timeout key seconds
Specifies an interval (in seconds) during which the 
gateway will retain a WTLS session key when the 
session is unused.
Router(config)# wap wtls timeout session seconds
Specifies an interval (in seconds) after which an 
inactive WTLS session will be closed by the 
gateway.
Command
Purpose
Command
Purpose
Step 1
Router(config)# wap http maximum header-length 
max-characters
Specifies how the gateway splits individual HTTP 
headers into multiple lines.
The max-characters argument defines the 
maximum number of characters allowed before 
the gateway splits a line of HTTP headers at the 
end of the next comma-separated value. The 
default is set to 100 characters.