Skip to content

Commit a23a62f

Browse files
committed
fix header conversion in spin_sdk.http.send
Signed-off-by: Joel Dice <joel.dice@akamai.com>
1 parent 89ee8e2 commit a23a62f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/spin_sdk/http/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ async def send(request: Request) -> Response:
190190
incoming_response = await client.send(outgoing_request)
191191

192192
status = incoming_response.get_status_code()
193+
headers = incoming_response.get_headers().copy_all()
193194
rx, trailers = WasiResponse.consume_body(incoming_response, _unit_future())
194195
body = bytearray()
195196
with rx:

0 commit comments

Comments
 (0)