From 7605ec326c342d444ec0c9eb77dcb5a08739e9e2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 25 May 2022 09:38:15 -0700 Subject: whitespace (#1898) --- lib/rack/multipart.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/rack/multipart.rb b/lib/rack/multipart.rb index d6021f8c..3347662a 100644 --- a/lib/rack/multipart.rb +++ b/lib/rack/multipart.rb @@ -16,19 +16,19 @@ module Rack class << self def parse_multipart(env, params = Rack::Utils.default_query_parser) io = env[RACK_INPUT] - + if content_length = env['CONTENT_LENGTH'] content_length = content_length.to_i end - + content_type = env['CONTENT_TYPE'] - + tempfile = env[RACK_MULTIPART_TEMPFILE_FACTORY] || Parser::TEMPFILE_FACTORY bufsize = env[RACK_MULTIPART_BUFFER_SIZE] || Parser::BUFSIZE - + info = Parser.parse(io, content_length, content_type, tempfile, bufsize, params) env[RACK_TEMPFILES] = info.tmp_files - + return info.params end -- cgit v1.2.3-24-ge0c7