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:
parent
7a337e70ac
commit
eede26a122
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue