[squid-users] store_id_extras to access request header

Kedar K mailbox.kedar at gmail.com
Wed Jul 11 05:59:17 UTC 2018


Hi,
I tried to get the request header to store id helper
with %>h option for store_id_extras; However, I get a '-' (and the default
k-v pairs intact)

Is this expected behaviour? Wouldn't request header be available before
sending a query to store-id helper?

​My use case was to pass custom fields either as part of URL (append at the
end) or request header.

Is it possible to use combination of store_id_program helper and
rewrite_url_program; such that the extra params from the url are used by
store-id helper to create a store-id and then the url_rewrite program can
strip them off before sending the request to origin server? ​


-- 

*- Kedar*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180711/f715b912/attachment-0001.html>


More information about the squid-users mailing list