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

Added quote_cookie option to CookieJar #4881

Merged
merged 16 commits into from
Oct 15, 2020

Conversation

JonasKs
Copy link
Contributor

@JonasKs JonasKs commented Jul 28, 2020

What do these changes do?

Added quote_cookie option to CookieJar, a way to skip quotation wrapping of cookies containing special characters.

Are there changes in behavior for the user?

No.

Related issue number

#2571

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Jul 28, 2020
aiohttp/cookiejar.py Outdated Show resolved Hide resolved
@codecov-commenter

This comment has been minimized.

@JonasKs
Copy link
Contributor Author

JonasKs commented Aug 7, 2020

#4408 seems to be the reason for tests to fail.

@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 11, 2020

Any comments @asvetlov @webknjaz ?

aiohttp/cookiejar.py Outdated Show resolved Hide resolved
tests/test_cookiejar.py Outdated Show resolved Hide resolved
aiohttp/cookiejar.py Outdated Show resolved Hide resolved
tests/test_cookiejar.py Outdated Show resolved Hide resolved
tests/test_cookiejar.py Outdated Show resolved Hide resolved
tests/test_cookiejar.py Outdated Show resolved Hide resolved
docs/client_advanced.rst Outdated Show resolved Hide resolved
docs/client_advanced.rst Outdated Show resolved Hide resolved
JonasKs and others added 2 commits October 13, 2020 10:31
By @webknjaz

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

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

LGTM but I'll leave it to @asvetlov to merge.

@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 13, 2020

Linting fails in tests. I'll fix ASAP.

@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 13, 2020

Lint fails do not seem to be about this code, the same errors happens all PRs to this repo (even the dependabot ones).

Copy link
Member

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@asvetlov asvetlov merged commit 9562596 into aio-libs:master Oct 15, 2020
@github-actions
Copy link
Contributor

💔 Backport was not successful

The PR was attempted backported to the following branches:

  • ❌ 3.7: Commit could not be cherrypicked due to conflicts

asvetlov pushed a commit that referenced this pull request Oct 15, 2020
@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 16, 2020

@asvetlov , backport didn't work. Anything you'd like me to do?

@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 16, 2020

Ah, looking back I can see you fixed it. Thanks!

@asvetlov
Copy link
Member

Yes.
Sorry, I have a lot of work on aiohttp now.
Sometimes I skip PRs for manual backporting but commit backports directly; it saves my time in these very dense days.

@JonasKs
Copy link
Contributor Author

JonasKs commented Oct 16, 2020

No worries, that's understandable. Have a nice weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants