I believe ICAP or eCAP would be better suited for our needs. But having invested into the external_acl_type helper way of working, I am exploring what best can be done. I hope there is a simple way to do this. Also, ICAP is essentialy another web-server (unless I use eCAP) that I would like to avoid. thanks, Sreenath On 2/1/16, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote: > Hey, > > I do not have an answer to your question but I wanted to ask a question. > If you would be able to send the whole page with the data directly to > the client would it be OK for your use case? > It's just that based on your external helper logic it might be possible > to use ICAP or eCAP instead of an external acl helper(if indeed your > helper is externel_acl type) > > Eliezer > > On 01/02/2016 19:53, Sreenath BH wrote: >> Hi All, >> >> We want to send error message in json format when external acl deny's a >> request. >> Even if we send a json formatted message (using message= key value >> pair) in external helper, the final output is still html. >> >> We have a custom error file in share/error/templates directory, and we >> use %o to pickup the message token. >> >> Is there any way to not send any html tags at all and simply send >> whatever was output by the external helper? >> >> I am trying to understand the contents of the files in template folder >> but is going above my head. >> >> thanks for any help, >> Sreenath >> _______________________________________________ >> squid-users mailing list >> squid-users@xxxxxxxxxxxxxxxxxxxxx >> http://lists.squid-cache.org/listinfo/squid-users >> > > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users > _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users