CBTJD@BVUI@NBSLͰͷ͍ํ
def call(env)
status, headers, response = @app.call(env)
if basic_auth?
# to
# to
new_response = insert_basic_auth_marks(response)
# update body size.
headers['Content-Length'] = new_response.bytesize.to_s
response = [new_response]
end
[status, headers, response]
end