Skip to content

Commit

Permalink
Cover up to 0dad0fc in the 2.5.0 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Mar 19, 2021
1 parent 94f8c99 commit 1aeba2e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Highlights:

- Official Python 3.9 support

- Experimental :ref:`HTTP/2 support <http2>`

- New :class:`~scrapy.signals.headers_received` signal that allows stopping
downloads early

Expand All @@ -38,6 +40,11 @@ Deprecations
New features
~~~~~~~~~~~~

- Experimental :ref:`HTTP/2 support <http2>` through a new download handler
that can be assigned to the ``https`` protocol in the
:setting:`DOWNLOAD_HANDLERS` setting.
(:issue:`1854`, :issue:`4769`)

- The new :class:`~scrapy.signals.headers_received` signal gives early access
to response headers and allows :ref:`stopping downloads
<topics-stop-response-download>`.
Expand Down Expand Up @@ -108,7 +115,8 @@ Quality Assurance

- Migrated from Travis CI to GitHub Actions. (:issue:`4924`)

- Fixed CI issues. (:issue:`4986`, :issue:`5020`, :issue:`5022`)
- Fixed CI issues.
(:issue:`4986`, :issue:`5020`, :issue:`5022`, :issue:`5052`, :issue:`5053`)

- Refactored complex code (:issue:`4982`, :issue:`5001`, :issue:`5002`)

Expand Down
5 changes: 4 additions & 1 deletion docs/topics/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,8 @@ handler (without replacement), place this in your ``settings.py``::
'ftp': None,
}

.. _http2:

The default HTTPS handler uses HTTP/1.1. To use HTTP/2 update
:setting:`DOWNLOAD_HANDLERS` as follows::

Expand All @@ -703,7 +705,8 @@ The default HTTPS handler uses HTTP/1.1. To use HTTP/2 update

- No support for `server pushes`_, which are ignored.

- No support for the :signal:`bytes_received` signal.
- No support for the :signal:`bytes_received` and
:signal:`headers_received` signals.

.. _frame size: https://tools.ietf.org/html/rfc7540#section-4.2
.. _http2 faq: https://http2.github.io/faq/#does-http2-require-encryption
Expand Down

0 comments on commit 1aeba2e

Please sign in to comment.