<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi guys,<div class=""><br class=""></div><div class="">One more: I believe ICAP is not respecting the Preview header for REQMOD nor RESPMOD.</div><div class=""><br class=""></div><div class="">For the REQMOD OPTIONS requests, I respond with:</div><div class=""><br class=""></div><div class=""><div class="">ICAP/1.0 200 OK</div><div class="">Allow: 200,204</div><div class="">Connection: close</div><div class="">Date: Fri, 05 Mar 2021 07:34:56 GMT</div><div class="">Encapsulated: null-body=0</div><div class="">Methods: REQMOD</div><div class="">Preview: 64000</div></div><div class=""><br class=""></div><div class="">However in my ICAP service, I often receive a request body over 64000 bytes, e.g. 1000000 request bytes.</div><div class=""><br class=""></div><div class="">I also noticed that a "Preview: 0” will not have any effect and the ICAP service will still receive a complete HTTP REQMOD+REQRESP body.</div><div class="">Any idea if I’m doing something wrong here?</div><div class=""><br class=""></div><div class=""><pre style="background-color: rgb(255, 255, 255); color: rgb(82, 91, 107); font-family: "JetBrains Mono", monospace;" class="">icap_enable on<br class="">icap_connect_timeout 1 second<br class="">icap_service_failure_limit -1<br class="">icap_send_client_ip on<br class="">icap_preview_size 0<br class="">icap_persistent_connections on<br class="">icap_service service_req reqmod_precache <span style="color: rgb(151, 53, 180);" class="">bypass</span>=0 <a href="icap://172.17.0.2:1344/request" class="">icap://172.17.0.2:1344/request</a><br class="">icap_service service_res respmod_precache <span style="color: rgb(151, 53, 180);" class="">bypass</span>=0 <a href="icap://172.17.0.2:1344/response" class="">icap://172.17.0.2:1344/response</a><br class="">icap_preview_enable on<br class="">adaptation_access service_req allow all<br class="">adaptation_access service_res allow all</pre><div class=""><br class=""></div></div><div class="">Man thanks.</div><div class=""><br class=""></div><div class="">Regards,</div><div class=""><div class="">
<meta charset="UTF-8" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Best regards<br class="Apple-interchange-newline">Niels Hofmans<br class=""><br class="">SITE <a href="https://ironpeak.be" class="">https://ironpeak.be</a><br class="">BTW BE0694785660<br class="">BANK BE76068909740795</div>
</div>
<br class=""></div></body></html>