Trim input name
This commit is contained in:
parent
40fd0863fc
commit
ae072d1812
@ -101,6 +101,8 @@ impl ActixAdminModel {
|
||||
while let Some(item) = payload.next().await {
|
||||
let mut field = item?;
|
||||
|
||||
eprintln!("FIELD NAME {:?}, FILENAME {:?}", field.name(), field.content_disposition().get_filename());
|
||||
|
||||
let mut binary_data: Vec<Bytes> = Vec::new();
|
||||
while let Some(chunk) = field.next().await {
|
||||
binary_data.push(chunk.unwrap());
|
||||
|
Loading…
Reference in New Issue
Block a user