SyntaxFix
Write A Post
Hire A Developer
Questions
Here's the source code of an HttpHandler which does that, maybe it'll help you