-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 Link header (RFC8288) parsing #2955
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2955 +/- ##
==========================================
+ Coverage 97.99% 97.99% +<.01%
==========================================
Files 40 40
Lines 7523 7539 +16
Branches 1318 1321 +3
==========================================
+ Hits 7372 7388 +16
Misses 48 48
Partials 103 103
Continue to review full report at Codecov.
|
|
By spec the link could be relative ( |
Thanks! |
Sweet that was fast, thanks @hdk5! 🙇 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
What do these changes do?
Added and
links
property for ClientResponse object.links
parsesLink
header into a dict.Dict keys are
rel
link params or url itself as string.Values are dicts of link params and url as yarl URL object
Look also RFC 8288
Are there changes in behavior for the user?
New properties added, no backward incompatible changes
Related issue number
#2948
Checklist
CONTRIBUTORS.txt
CHANGES
folder