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

Fix broken references in docs/whats_new_1_1.rst #5741

Merged
merged 2 commits into from
Jun 6, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/whats_new_1_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ e.g. ``session.get('http://example.com')`` works as well as
Internal API has been switched to :class:`yarl.URL`.
:class:`aiohttp.CookieJar` accepts :class:`~yarl.URL` instances only.

On server side has added :class:`web.Request.url` and
:class:`web.Request.rel_url` properties for representing relative and
On server side has added :attr:`aiohttp.web.BaseRequest.url` and
:attr:`aiohttp.web.BaseRequest.rel_url` properties for representing relative and
absolute request's URL.

URL using is the recommended way, already existed properties for
Expand All @@ -32,7 +32,7 @@ parameter. :class:`str` is still supported and will be supported forever.

Reverse URL processing for *router* has been changed.

The main API is :class:`aiohttp.web.Request.url_for(name, **kwargs)`
The main API is :``aiohttp.web.Request.url_for``
webknjaz marked this conversation as resolved.
Show resolved Hide resolved
which returns a :class:`yarl.URL` instance for named resource. It
does not support *query args* but adding *args* is trivial:
``request.url_for('named_resource', param='a').with_query(arg='val')``.
Expand Down