Morning,

I'm interested in developing an ICAP server for the purposes of
content filtering and rewriting. As per the RFC
(http://www.faqs.org/rfcs/rfc3507.html), ICAP uses an almost identical
request/response protocol to HTTP. The only discernible difference I
can see is it's use of different verbs (which HttpCore will take care
of already), a different URI scheme and a different protocol name
(ICAP/1.0 is the current one). For example, a typical request line
might be:

RESPMOD icap://icap.example.net/translate?mode=french ICAP/1.0

I've built a number of servers successfully with HttpCore NIO and am
very comfortable with its operation and performance. I'm wondering if
it's possible to re-use HttpCore for this project, even though it's
not HTTP.

So, a couple of questions:

1) Is this a sensible thing to do?
2) Is there an easy way to instruct HttpCore to accept ICAP messages
(like the request line above) and produce ICAP responses? Moreover, is
there a class I can extend to specify support for different protocols,
or does HttpCore not expose this?

Thanks,

Sam

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to