The request from Nginx lands an authentication module first and then later goes to the Shiny App. In the authentication module, I want to set an additional header and access that header within the Shiny App. I'm printing all the info contained in the session$request
here.
server <- function(input, output, session) {
output$summary <- renderText({
ls(env=session$request)
})
I see some of the headers like HTTP_CONNECTION
, HTTP_HOST
etc getting printed here, however I'm not seeing the custom header that I had set in the authentication module here. Does Shiny Server support accessing the custom http headers also or is there some restrictions on the headers that are available in session$request
?