Changes between Initial Version and Version 1 of Ticket #35414, comment 9
- Timestamp:
- May 4, 2024, 9:21:34 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35414, comment 9
initial v1 3 3 Thanks for the documentation link. So the async client intended behaviour is inconsistent with the sync counterpart. 4 4 5 But I should've mentioned in my original post that the headers fielddoes not work neither.5 But I should've mentioned in my original post that the headers argument does not work neither. 6 6 Because converting the above example test using headers argument still fails. 7 7 … … 11 11 self, 12 12 ) -> None: 13 async_client = AsyncClient(headers={" HTTP_AUTHORIZATION": f"Bearer I_AM_JWT_TOKEN"})13 async_client = AsyncClient(headers={"AUTHORIZATION": f"Bearer I_AM_JWT_TOKEN"}) 14 14 15 15 response = await async_client.get(