Refactored `Session.request` to make `method` optional.