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

Add fn cookie(x: &str) in ServiceRequest #1821

Closed
wants to merge 2 commits into from
Closed

Add fn cookie(x: &str) in ServiceRequest #1821

wants to merge 2 commits into from

Conversation

Martichou
Copy link

@Martichou Martichou commented Dec 9, 2020

PR Type

Feature

PR Checklist

Check your PR fulfills the following:

  • 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

Overview

Add a cookie() function into ServiceRequest to allow getting cookie by name directly instead of splitting the ServiceRequest into_parts().

Closes #1818

@Martichou Martichou changed the title Add fn cookie(x: &str) fn for ServiceRequest Add fn cookie(x: &str) for ServiceRequest Dec 9, 2020
@Martichou Martichou changed the title Add fn cookie(x: &str) for ServiceRequest Add fn cookie(x: &str) in ServiceRequest Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No method to get cookie from 'ServiceRequest'
1 participant