1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Remove unnecessary code with async split

This commit is contained in:
Evan Phoenix 2016-02-25 13:33:05 -08:00
parent 7a337e70ac
commit eede26a122

View file

@ -524,9 +524,6 @@ module Puma
head = env[REQUEST_METHOD] == HEAD head = env[REQUEST_METHOD] == HEAD
env[RACK_INPUT] = body
env[RACK_URL_SCHEME] = env[HTTPS_KEY] ? HTTPS : HTTP
# A rack extension. If the app writes #call'ables to this # A rack extension. If the app writes #call'ables to this
# array, we will invoke them when the request is done. # array, we will invoke them when the request is done.
# #
@ -714,8 +711,6 @@ module Puma
body = req.body body = req.body
head = env[REQUEST_METHOD] == HEAD
env[RACK_INPUT] = body env[RACK_INPUT] = body
env[RACK_URL_SCHEME] = env[HTTPS_KEY] ? HTTPS : HTTP env[RACK_URL_SCHEME] = env[HTTPS_KEY] ? HTTPS : HTTP