<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-09-05 10:32 GMT-03:00 Antony Stone <span dir="ltr"><<a href="mailto:Antony.Stone@squid.open.source.it" target="_blank">Antony.Stone@squid.open.source.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Saturday 05 September 2015 at 15:29:28, Alfredo Rezinovsky wrote:<br>
<br>
> I'm trying to adapt response for all text/html responses.<br>
><br>
> icap_service service_respmod respmod_precache<br>
> icap://<a href="http://127.0.0.1:1344/response" rel="noreferrer" target="_blank">127.0.0.1:1344/response</a><br>
><br>
> acl html rep_header -i Content-Type text\/html<br>
> adaptation_access service_respmod allow html<br>
><br>
> And it doesn't works.<br>
><br>
> The strange thing is that it does works with:<br>
><br>
> acl html rep_mime_type text\/html<br>
><br>
> There should be something i'm missing<br>
<br>
</span>Shouldn't there be a colon in "Content-type: text/html"?</blockquote><div><br></div><div>Found it</div><div><br></div><div>The case insensitive is the regex, not the header name</div><div><br></div><div>RIGHT: acl html rep_header Content-Type -i text\/html<br></div><div>WRONG: acl html rep_header -i Content-Type text\/html<br></div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888">
Antony.<br>
<br>
--<br>
"Linux is going to be part of the future. It's going to be like Unix was."<br>
<br>
 - Peter Moore, Asia-Pacific general manager, Microsoft<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Alfrenovsky</div>
</div></div>