You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The httpHeaders for both request and response are now available through LOG_LEVEL=debug in SDK
The $metadata itself might be removed from API response #1490
We might add a middleware to do all of the following:
Get important values (requestId, extendedRequestId, cfId) from httpHeaders
Remove httpHeaders from $metadata
Log metadata under logger.info, along with important values.
Delete metadata from API response.
This would delegate the responsibility of populating important values from protocols file to middleware. The entire deserializeMetadata method can be moved to the middleware.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Is your feature request related to a problem? Please describe.
The httpHeaders for both request and response are now available through LOG_LEVEL=debug in SDK
Code
Output with LOG_LEVEL=debug
Output (default)
Note that response headers are accessible from httpResponse.headers when LOG_LEVEL=debug is used
Describe the solution you'd like
Remove httpHeaders from $metadata as:
requestId
)Describe alternatives you've considered
Stick with examining redundant httpHeaders in $metadata
The text was updated successfully, but these errors were encountered: