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

remove cookie support from -http #2065

Merged
merged 12 commits into from Apr 9, 2021
Merged

remove cookie support from -http #2065

merged 12 commits into from Apr 9, 2021

Conversation

robjtede
Copy link
Member

@robjtede robjtede commented Mar 11, 2021

PR Type

Improvement

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

Removes cookie features from -http. Part of this effort necessarily included creating a response and response builder structs in -web; as far as I can see, the changes in this PR are as small as possible to achieve it.

@robjtede robjtede added A-http project: actix-http B-semver-major breaking change requiring a major version bump A-awc project: awc A-web project: actix-web labels Mar 11, 2021
@robjtede

This comment has been minimized.

@therealprof
Copy link
Contributor

Sweet!

@robjtede robjtede marked this pull request as ready for review April 8, 2021 22:07
@robjtede robjtede requested review from a team April 8, 2021 22:11
Copy link
Contributor

@fakeshadow fakeshadow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robjtede robjtede merged commit 44c55dd into master Apr 9, 2021
@robjtede robjtede deleted the no-cookies-for-you branch April 9, 2021 17:07
@a1ph a1ph mentioned this pull request May 1, 2021
near-bulldozer bot pushed a commit to near/nearcore that referenced this pull request May 5, 2021
Fixes #4240

- Update `actix-web` to latest beta `v4.0.0-beta.6`
- Migrate to using `awc` directly instead of previously re-exported `actix_web::client`
- Pulled upstream updates for [`near/actix-extras`](https://github.com/near/actix-extras) and updated `actix-web` dependency on all crates (actix/actix-extras@master...near:actix-web-4-beta.6)
  - Reimplemented cookie adapter (near/actix-extras@f3e6f09) that was removed from `actix-http` (actix/actix-web#2065)
- Forked [`paperclip`](https://github.com/near/paperclip) and updated `actix-web`, adding and defaulting to the `actix4` feature flag (near/paperclip@b9589c6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-awc project: awc A-http project: actix-http A-web project: actix-web B-semver-major breaking change requiring a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants