mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Merge pull request #46 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
This commit is contained in:
commit
a83d2f41bd
|
@ -8,7 +8,7 @@ daphne
|
|||
:target: https://pypi.python.org/pypi/daphne
|
||||
|
||||
Daphne is a HTTP, HTTP2 and WebSocket protocol server for
|
||||
`ASGI <http://channels.readthedocs.org/en/latest/asgi.html>`_, and developed
|
||||
`ASGI <https://channels.readthedocs.io/en/latest/asgi.html>`_, and developed
|
||||
to power Django Channels.
|
||||
|
||||
It supports automatic negotiation of protocols; there's no need for URL
|
||||
|
|
|
@ -69,7 +69,7 @@ class TestHTTPProtocol(TestCase):
|
|||
|
||||
def test_http_disconnect_sets_path_key(self):
|
||||
"""
|
||||
Tests http disconnect has the path key set, see http://channels.readthedocs.io/en/latest/asgi.html#disconnect
|
||||
Tests http disconnect has the path key set, see https://channels.readthedocs.io/en/latest/asgi.html#disconnect
|
||||
"""
|
||||
# Send a simple request to the protocol
|
||||
self.proto.dataReceived(
|
||||
|
@ -92,4 +92,4 @@ class TestHTTPProtocol(TestCase):
|
|||
|
||||
# Get the disconnection notification
|
||||
_, disconnect_message = self.channel_layer.receive_many(["http.disconnect"])
|
||||
self.assertEqual(disconnect_message['path'], "/te st-à/")
|
||||
self.assertEqual(disconnect_message['path'], "/te st-à/")
|
||||
|
|
Loading…
Reference in New Issue
Block a user