horpto
horpto
@hongkongkiwi > It's really fantastic and you've totally taken the pain out of writing an icap server. not me, it's fork of other unmaintained repo.I'm just support and fix some...
@hongkongkiwi please, add `icapRes.writeHeaders(true);`, (true - there is body, false - nope).
@hongkongkiwi First, please add var url = require('url'); Second, please change line ' icapRes.setHttpMethod(res);' to ' icapRes.setHttpStatus(res);' in acceptRequest. Really docs are wrong. You should write for reqmod ``` icapRes.setHttpMethod(req);...
And add `icapRes.end()`at the end of `rejectResponse`.