You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "heichong (via GitHub)" <gi...@apache.org> on 2023/06/06 01:07:59 UTC

[GitHub] [apisix] heichong opened a new issue, #9601: help request: 在serverless function中,如何获得upstream返回的Header

heichong opened a new issue, #9601:
URL: https://github.com/apache/apisix/issues/9601

   ### Description
   
   在serverless function中,如何获得upstream返回的Header,比如Location?
   
   我尝试了 ngx.var.var_location ,无法拿到。
   感谢
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] heichong closed issue #9601: help request: 在serverless function中,如何获得upstream返回的Header

Posted by "heichong (via GitHub)" <gi...@apache.org>.
heichong closed issue #9601: help request:  在serverless function中,如何获得upstream返回的Header
URL: https://github.com/apache/apisix/issues/9601


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] heichong commented on issue #9601: help request: 在serverless function中,如何获得upstream返回的Header

Posted by "heichong (via GitHub)" <gi...@apache.org>.
heichong commented on issue #9601:
URL: https://github.com/apache/apisix/issues/9601#issuecomment-1577752753

   我找到了:ngx.header["Location"]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org