Closed amiramw closed 3 years ago
When calling stream_context.headers.request.get(<key>) from onResponseHeaders the returned header value is empty. The same API works fine when called from onRequestHeaders.
stream_context.headers.request.get(<key>)
onResponseHeaders
onRequestHeaders
Is it intentional or a bug?
it is intentional. you cannot get request headers once they are sent upstream. i.e. this is in the abi level (will behave the same in other SDKs)
When calling
stream_context.headers.request.get(<key>)
fromonResponseHeaders
the returned header value is empty. The same API works fine when called fromonRequestHeaders
.Is it intentional or a bug?