Please sign in to comment.
Add failing spec demonstrating em-http-request bug.
When a response modifying middleware is used with em-http-request, and a real request is made, the middleware can modify the response before the after_request is invoked. This prevents VCR from being able to record the response accurately. The after_request hook should be invoked before the em-http-request middleware. Related to myronmarston/vcr#169.
- Loading branch information...
Showing with 37 additions and 5 deletions.