我有一个用于上传的base64音频的%let list = %sysfunc(compbl(&list));
%let list_csv = %sysfunc(tranwrd(&list,%str( ),%str(,)));
%let list_into = :%sysfunc(tranwrd(&list,%str( ),%str( trimmed, :))) trimmed;
%put NOTE: &=list;
%put NOTE: &=list_csv;
%put NOTE: &=list_into;
序列化程序,我注意到Base64字符串不是以数据开头的:****。如何确定上传文件的Mime类型? i_need_the_file_extension_mimetype()
FileField
答案 0 :(得分:0)
由于@Ralf指针
,我终于用python-magic
对其进行了排序
import { User } from './api';
declare namespace Express {
export interface Request {
user: User;
}
}