Re: [squid-users] Error page headers

2019-09-23 Thread senor
-users@lists.squid-cache.org Subject: Re: [squid-users] Error page headers Thank you Alex. I suspected I was missing something. In this case I didn't realize the error page would still need to flow through http_reply_access/reply_header_replace. I think that's what I need. I didn'

Re: [squid-users] Error page headers

2019-09-23 Thread senor
you described. It's an enticing project for when extra time comes my way. Thanks! From: squid-users on behalf of Alex Rousskov Sent: Monday, September 23, 2019 6:03 AM To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Error page heade

Re: [squid-users] Error page headers

2019-09-23 Thread Alex Rousskov
On 9/23/19 12:49 AM, senor wrote: > I have custom error pages with content needing the Content-Type > header to reflect what it is (like JSON). I don't see any current > options providing that option for error page handling. I would start with http_reply_access/reply_header_replace combo, denying

[squid-users] Error page headers

2019-09-22 Thread senor
Hi All, I have custom error pages with content needing the Content-Type header to reflect what it is (like JSON). I don't see any current options providing that option for error page handling. Before I dig into the code, I wanted to see if anyone had any ideas. Adaptation could work but seems l