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
Current behavior: grpcurl incorrectly states Response headers received: (empty) despite response headers being present in case there is an unexpected status code (like 401).
Expected behavior: grpcurl shows headers even in case there is an unexpected status code (and possibly no content).
$ grpcurl -vv -plaintext -d '<redacted>' -H "Authorization: Bearer $TOKEN" [::1]:8000 <redacted>
Resolved method descriptor:
<redacted>
Request metadata to send:
authorization: Bearer <redacted>
Response headers received:
(empty)
Response trailers received:
(empty)
Sent 1 request and received 0 responses
ERROR:
Code: Unauthenticated
Message: unexpected HTTP status code received from server: 401 (Unauthorized)
Wireshark:
The text was updated successfully, but these errors were encountered:
Current behavior:
grpcurl
incorrectly statesResponse headers received: (empty)
despite response headers being present in case there is an unexpected status code (like 401).Expected behavior:
grpcurl
shows headers even in case there is an unexpected status code (and possibly no content).Wireshark:
The text was updated successfully, but these errors were encountered: