Skip to content

Conversation

@lanej
Copy link

@lanej lanej commented Sep 1, 2015

  • store request_body in env
  • allow response to contain all the information of the request

* store request_body in env
* allow response to contain all the information of the request
@iMacTia
Copy link
Member

iMacTia commented May 2, 2016

Waiting for anything before merging this? Looks like a great addition!

@lanej
Copy link
Author

lanej commented May 2, 2016

@iMacTia still waiting on the verdict

@iMacTia
Copy link
Member

iMacTia commented May 2, 2016

8 months later... 😕

@iMacTia iMacTia added this to the v1.0 milestone Dec 29, 2016
@a0s
Copy link

a0s commented Jun 26, 2018

2 years later ... :(

iMacTia added a commit that referenced this pull request Feb 14, 2019
  * They're now final endpoints. They don't call `@app.call` anymore.
* Env refactoring
  * Refactors `Env` by moving all response-related fields into the response. The response body doesn't override the request body anymore!
  * Ensures backwards compatibility by introducing getter methods in `Env`.
* Middlewares refactoring (mostly backwards compatible):
  * All middlewares inherit from the same `Faraday::Middleware` class.
  * Adds new `on_request` helper so basic middlewares (request and response) don't need to override `call` anymore.
  * Refactor existing middlewares to reflect this change.
* Updates UPGRADING.md with all breaking changes.

Fixes #47 once and for all!
Fixes #517
@iMacTia
Copy link
Member

iMacTia commented Feb 15, 2019

This is now being addressed as part of #845 and will be available in v1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants