mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	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? |         if !filename.nil? | ||||||
|           @files[upload.name] = FileUpload.new(upload: upload) |           @files[upload.name] = FileUpload.new(upload: upload) | ||||||
|         else |         else | ||||||
|           @body[upload.name] = upload.body.gets_to_end |           @body.add(upload.name, upload.body.gets_to_end) | ||||||
|         end |         end | ||||||
|       end |       end | ||||||
|     end |     end | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue