forked from bblimke/webmock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Unexpected default rack.session
Some rack application fail when the `rack.session` already is initialized, but with an unexpected value. For example, in an Rails API-only application, unexpected behavior is triggered when a `rack.session` is present. This commit changes webmock, not to set a `rack.session` at all, similar to how webserver do not set a session. The applications or a middleware sets them up if needed. Fixes bblimke#985
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters