Groups
Groups
Sign in
Groups
Groups
openresty
Conversations
Labels
About
Send feedback
Help
如何转发子请求响应头部
30 views
Skip to first unread message
Zavier Lyu
unread,
Jul 7, 2023, 9:01:18 PM
7/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
想在echo_subrequest实现将subrequest的响应header放到主请求的响应header上,但是似乎在echo中的echo_exec_echo_sync中就已经发送了响应头部,怎么才能block这个发送直到拿到子请求的响应呢。比如等在post_subrequest的handler中将头部拷贝的主请求的headers_out中再去发送这个响应头部。
Reply all
Reply to author
Forward
0 new messages