How can I use httpx to upload a file to S3 using a presigned url (PUT method)

前端 未结 0 1696
梦如初夏
梦如初夏 2021-02-19 00:39

As httpx aims to be compatible with the requests API wherever possible i tried the following based on this answer:

with open(local_file, \'rb\') as f:
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题