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
# This function informs the headers object that any subsequent headers are going to be trailer. Therefore, it must be called *before* sending the headers, to avoid any race conditions.
130
130
trailer=response.headers.trailer!
131
131
132
-
@stream.send_headers(nil,headers)
132
+
@stream.send_headers(headers)
133
133
134
134
@stream.send_body(body,trailer)
135
135
else
136
136
# Ensure the response body is closed if we are ending the stream:
0 commit comments