Django test client gives 404 when trying to get a public file from google cloud storage. Works fine when using requests lib

前端 未结 0 1484
清酒与你
清酒与你 2020-12-07 02:02

I have a public file on cloudstorage with public url = https://storage.googleapis.com/xyz/abc.pdf

import requests
requests.get(url)  # gives stat         


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