Use HTTP::Params.add instead of HTTP::Params.[]=
This commit is contained in:
parent
a3a0f40468
commit
8cb9770ec3
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module Kemal
|
|||
if !filename.nil?
|
||||
@files[upload.name] = FileUpload.new(upload: upload)
|
||||
else
|
||||
@body[upload.name] = upload.body.gets_to_end
|
||||
@body.add(upload.name, upload.body.gets_to_end)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue