Changes between Initial Version and Version 1 of Ticket #35414, comment 9


Ignore:
Timestamp:
May 4, 2024, 9:21:34 PM (4 months ago)
Author:
설원준(Wonjoon Seol)/Dispatch squad

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35414, comment 9

    initial v1  
    33Thanks for the documentation link. So the async client intended behaviour is inconsistent with the sync counterpart.
    44
    5 But I should've mentioned in my original post that the headers field does not work neither.
     5But I should've mentioned in my original post that the headers argument does not work neither.
    66Because converting the above example test using headers argument still fails.
    77
     
    1111        self,
    1212    ) -> 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"})
    1414
    1515        response = await async_client.get(
Back to Top