Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't stomp on request body #517

Closed
wants to merge 1 commit into from

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
@iMacTia iMacTia added this to To Do in v1.0 Jan 31, 2018
@iMacTia iMacTia moved this from To Do to In progress in v1.0 Jan 31, 2018
@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

@iMacTia iMacTia closed this Feb 15, 2019
v1.0 automation moved this from In progress to Done Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v1.0
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants