- 博客(1)
- 收藏
- 关注
原创 django StreamingHttpResponse下载文件 Content-Type 文件名中文乱码问题
from django.http import StreamingHttpResponsedef downloadFile(request): download_name ='测试.docx' the_file_name = str(download_name) # 显示在弹出对话框中的默认的下载文件名 filename = os.getcwd()+r'\templ...
2019-05-02 23:58:45
2107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人