Pass through SERVER_PORT when stubbing to rack #172

Merged
merged 1 commit into from Apr 4, 2012

Projects

None yet

2 participants

@oestrich
Contributor
oestrich commented Apr 2, 2012

If the server verifies a signature that includes
the port, the webmock stub would otherwise make
the request invalid.

For example, OAuth 2 computes a signature that includes the server port.

@oestrich oestrich Pass through SERVER_PORT when stubbing to rack
If the server verifies a signature that includes 
the port, the webmock stub would otherwise make 
the request invalid
56287b4
@bblimke
Owner
bblimke commented Apr 4, 2012

Thank you for this improvement!

@bblimke bblimke merged commit cf7d536 into bblimke:master Apr 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment