We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Two Servlet Filters Every Web Application Should Have
|
Subject: |
|
Bufffering |
Date: |
|
2003-12-18 21:31:24 |
From: |
|
jfalkner
|
Response to: Bufffering
|
Buffering the content allows for the filter to correctly set the "Content-Length" HTTP header. When you compress content you almost always end up sending fewer bytes of information, meaning you need to modify this header. |