IBM Support

HTTP Compression and tracing

Troubleshooting


Problem

Within IBM Security Access Manager for Web, how can an administrator determine if HTTP Compression (gzip) is actually working properly and is being sent to the browser?

Resolving The Problem

To verify that the mime type is actually being sent to the browser compressed, the administrator would need to start a pdweb.debug trace.

These instructions can be found within the Collecting Data Knowledge article (see link).

In this example, the webseald-default.conf file, the graphic image GIF has been turned on for HTTP Compression.


[compress-mime-types]
image/gif = 0

Within the trace, the browser submits a GET request for the /pics/iv30.gif object

GET /pics/iv30.gif HTTP/1.1

The request also shows that the browser can accept GZIP compression

accept-encoding: gzip, deflate

When the request goes to WebSEAL the data is returned to the browser with a 200 success and it also shows in the header that this data is being compressed properly using GZIP.

content-encoding: gzip

This proves a successful transfer of a compressed object to the browser.



---------------------------------------------------
PDWEB.DEBUG Snippet
---------------------------------------------------
2013-04-09-08:40:26.948-05:00I----- thread(5) trace.pdweb.debug:2 E:\build\amwebsec700\src\pdweb\webseald\ras\trace\debug_log.cpp:134: ----------------- Browser ===> PD -----------------
Thread_ID:3140
GET /pics/iv30.gif HTTP/1.1
accept: image/png,image/*;q=0.8,*/*;q=0.5
accept-encoding: gzip, deflate
accept-language: en-US,en;q=0.5
authorization:***********************************
connection: keep-alive
host: isam7
referer: https://isam7/
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Cookie: PD-S-SESSION-ID=1_2_1_CeBK5+22HcwJSWldN3wIf7IoybOELGdeFNjlfi7MKtayBkoy
---------------------------------------------------
2013-04-09-08:40:26.948-05:00I----- thread(5) trace.pdweb.debug:2 E:\build\amwebsec700\src\pdweb\webseald\ras\trace\debug_log.cpp:178: ----------------- Browser <=== PD -----------------
Thread_ID:3140
HTTP/1.1 200 OK
content-encoding: gzip
content-type: image/gif
date: Tue, 09 Apr 2013 13:40:26 GMT
last-modified: Thu, 25 Oct 2012 00:30:52 GMT
p3p: CP="NON CUR OTPi OUR NOR UNI"
server: WebSEAL/7.0.0.0 (Build 121024)
transfer-encoding: chunked
---------------------------------------------------


**NOTE**
HTTP Compression is only supported from browser to WebSEAL

Related Information

[{"Product":{"code":"SSPREK","label":"Tivoli Access Manager for e-business"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"WebSEAL","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0;6.1;6.1.1;7.0","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Product Synonym

ITAM ISAM SAM TAM AM AMWEB

Document Information

More support for:
Tivoli Access Manager for e-business

Software version:
6.0, 6.1, 6.1.1, 7.0

Document number:
489281

Modified date:
16 June 2018

UID

swg21633803

Manage My Notification Subscriptions