-
Hi, I'm trying to make my application aware of the new variable How could I achieve it? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
See here for where and how these variables can be used. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer. I read it before asking, and now I've read it again, but I still doesn't know how to achieve it. Any advice will be welcome. |
Beta Was this translation helpful? Give feedback.
-
I don't think it is possible to pass The conventional approach would be to decorate the request with a new |
Beta Was this translation helpful? Give feedback.
-
Hi Icrilly, I tried to pass Yesterday, I found this issue that you just renamed from "Support for request headers". Being able to set custom request headers would help to pass In the same issue tippexs suggested to use environment variables as a workaround, that's why I tried to use them, but it only works for static values. At this point, my idea was to add my use case to that issue, in support of adding the request headers feature; but now that is renamed I think it makes no sense. Should I open a new issue? What do you think would be the best way to comunicate |
Beta Was this translation helpful? Give feedback.
-
Please do create a new issue for the generic need. I was busy cleaning up to make space for it :) |
Beta Was this translation helpful? Give feedback.
I don't think it is possible to pass
$request_id
to an application without usingrewrite
to somehow embed it in the URI. You probably don't want to do that! :)The conventional approach would be to decorate the request with a new
Request-ID: $request_id
header. Unit cannot do this and I cannot find a GitHub issue about it.