0
我想設置的協議爲https使得當機架的請求:: MockRequest如何在Rack :: MockRequest中指定協議爲https?
client = Rack::MockRequest.new(@app)
#something like this?
env = @app.env.merge("rack.url_scheme" => "https")
response = client.get("/", env)
我該怎麼辦呢?
ü[R我心目中的英雄!!!! –