# Custom WEBrick FileHandler

**URL:** <https://www.ruby-forum.com/t/custom-webrick-filehandler/148429>\
**Category:** Ruby\
**Created:** [September 12, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/custom-webrick-filehandler/148429 "2008-09-12T19:24:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbaustert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Post date:** [September 12, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/custom-webrick-filehandler/148429/1 "2008-09-12T19:24:50Z")

</div>

Hello.

Is it possible in WEBrick to make a FileHandler with some elements of  
page changed in a custom way? For example, could I have the file sizes  
displayed in KB, or in red font? Is it possible to intercept the  
response page creation process, without changing its main functionality?

TPR.
