Skip to content

Commit d3f3c3d

Browse files
jdufresnecarltongibson
authored andcommitted
Prefer https protocol for links in docs when available
1 parent d5c34aa commit d3f3c3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+162
-162
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,14 @@ If you want to draw attention to a note or warning, use a pair of enclosing line
194194
---
195195

196196

197-
[cite]: http://www.w3.org/People/Berners-Lee/FAQ.html
197+
[cite]: https://www.w3.org/People/Berners-Lee/FAQ.html
198198
[code-of-conduct]: https://www.djangoproject.com/conduct/
199199
[google-group]: https://groups.google.com/forum/?fromgroups#!forum/django-rest-framework
200-
[so-filter]: http://stackexchange.com/filters/66475/rest-framework
200+
[so-filter]: https://stackexchange.com/filters/66475/rest-framework
201201
[issues]: https://github.com/encode/django-rest-framework/issues?state=open
202-
[pep-8]: http://www.python.org/dev/peps/pep-0008/
202+
[pep-8]: https://www.python.org/dev/peps/pep-0008/
203203
[pull-requests]: https://help.github.com/articles/using-pull-requests
204204
[tox]: https://tox.readthedocs.io/en/latest/
205-
[markdown]: http://daringfireball.net/projects/markdown/basics
205+
[markdown]: https://daringfireball.net/projects/markdown/basics
206206
[docs]: https://github.com/encode/django-rest-framework/tree/master/docs
207207
[mou]: http://mouapp.com/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ That's it, we're done!
139139

140140
You can now open the API in your browser at `http://127.0.0.1:8000/`, and view your new 'users' API. If you use the `Login` control in the top right corner you'll also be able to add, create and delete users from the system.
141141

142-
You can also interact with the API using command line tools such as [`curl`](http://curl.haxx.se/). For example, to list the users endpoint:
142+
You can also interact with the API using command line tools such as [`curl`](https://curl.haxx.se/). For example, to list the users endpoint:
143143

144144
$ curl -H 'Accept: application/json; indent=4' -u admin:password http://127.0.0.1:8000/users/
145145
[
@@ -176,14 +176,14 @@ If you believe you've found something in Django REST framework which has securit
176176
Send a description of the issue via email to [rest-framework-security@googlegroups.com][security-mail]. The project maintainers will then work with you to resolve any issues where required, prior to any public disclosure.
177177

178178
[build-status-image]: https://secure.travis-ci.org/encode/django-rest-framework.svg?branch=master
179-
[travis]: http://travis-ci.org/encode/django-rest-framework?branch=master
179+
[travis]: https://travis-ci.org/encode/django-rest-framework?branch=master
180180
[coverage-status-image]: https://img.shields.io/codecov/c/github/encode/django-rest-framework/master.svg
181-
[codecov]: http://codecov.io/github/encode/django-rest-framework?branch=master
181+
[codecov]: https://codecov.io/github/encode/django-rest-framework?branch=master
182182
[pypi-version]: https://img.shields.io/pypi/v/djangorestframework.svg
183183
[pypi]: https://pypi.python.org/pypi/djangorestframework
184184
[twitter]: https://twitter.com/_tomchristie
185185
[group]: https://groups.google.com/forum/?fromgroups#!forum/django-rest-framework
186-
[sandbox]: http://restframework.herokuapp.com/
186+
[sandbox]: https://restframework.herokuapp.com/
187187

188188
[funding]: https://fund.django-rest-framework.org/topics/funding/
189189
[sponsors]: https://fund.django-rest-framework.org/topics/funding/#our-sponsors

docs/api-guide/authentication.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -403,21 +403,21 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a
403403

404404
[drfpasswordless][drfpasswordless] adds (Medium, Square Cash inspired) passwordless support to Django REST Framework's own TokenAuthentication scheme. Users log in and sign up with a token sent to a contact point like an email address or a mobile number.
405405

406-
[cite]: http://jacobian.org/writing/rest-worst-practices/
407-
[http401]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2
408-
[http403]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4
409-
[basicauth]: http://tools.ietf.org/html/rfc2617
406+
[cite]: https://jacobian.org/writing/rest-worst-practices/
407+
[http401]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2
408+
[http403]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4
409+
[basicauth]: https://tools.ietf.org/html/rfc2617
410410
[permission]: permissions.md
411411
[throttling]: throttling.md
412412
[csrf-ajax]: https://docs.djangoproject.com/en/stable/ref/csrf/#ajax
413-
[mod_wsgi_official]: http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPassAuthorization
413+
[mod_wsgi_official]: https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIPassAuthorization.html
414414
[django-oauth-toolkit-getting-started]: https://django-oauth-toolkit.readthedocs.io/en/latest/rest-framework/getting_started.html
415-
[django-rest-framework-oauth]: http://jpadilla.github.io/django-rest-framework-oauth/
416-
[django-rest-framework-oauth-authentication]: http://jpadilla.github.io/django-rest-framework-oauth/authentication/
417-
[django-rest-framework-oauth-permissions]: http://jpadilla.github.io/django-rest-framework-oauth/permissions/
415+
[django-rest-framework-oauth]: https://jpadilla.github.io/django-rest-framework-oauth/
416+
[django-rest-framework-oauth-authentication]: https://jpadilla.github.io/django-rest-framework-oauth/authentication/
417+
[django-rest-framework-oauth-permissions]: https://jpadilla.github.io/django-rest-framework-oauth/permissions/
418418
[juanriaza]: https://github.com/juanriaza
419419
[djangorestframework-digestauth]: https://github.com/juanriaza/django-rest-framework-digestauth
420-
[oauth-1.0a]: http://oauth.net/core/1.0a
420+
[oauth-1.0a]: https://oauth.net/core/1.0a/
421421
[django-oauth-toolkit]: https://github.com/evonove/django-oauth-toolkit
422422
[evonove]: https://github.com/evonove/
423423
[oauthlib]: https://github.com/idan/oauthlib
@@ -429,12 +429,12 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a
429429
[djangorestframework-simplejwt]: https://github.com/davesque/django-rest-framework-simplejwt
430430
[etoccalino]: https://github.com/etoccalino/
431431
[djangorestframework-httpsignature]: https://github.com/etoccalino/django-rest-framework-httpsignature
432-
[amazon-http-signature]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
432+
[amazon-http-signature]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
433433
[http-signature-ietf-draft]: https://datatracker.ietf.org/doc/draft-cavage-http-signatures/
434434
[hawkrest]: https://hawkrest.readthedocs.io/en/latest/
435435
[hawk]: https://github.com/hueniverse/hawk
436436
[mohawk]: https://mohawk.readthedocs.io/en/latest/
437-
[mac]: http://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token-05
437+
[mac]: https://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token-05
438438
[djoser]: https://github.com/sunscrapers/djoser
439439
[django-rest-auth]: https://github.com/Tivix/django-rest-auth
440440
[django-rest-framework-social-oauth2]: https://github.com/PhilipGarnero/django-rest-framework-social-oauth2

docs/api-guide/content-negotiation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source: negotiation.py
66
>
77
> — [RFC 2616][cite], Fielding et al.
88
9-
[cite]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html
9+
[cite]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html
1010

1111
Content negotiation is the process of selecting one of multiple possible representations to return to a client, based on client or server preferences.
1212

@@ -94,4 +94,4 @@ You can also set the content negotiation used for an individual view, or viewset
9494
'accepted media type': request.accepted_renderer.media_type
9595
})
9696

97-
[accept-header]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
97+
[accept-header]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

docs/api-guide/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ The [django-rest-framework-hstore][django-rest-framework-hstore] package provide
807807
[html-and-forms]: ../topics/html-and-forms.md
808808
[FILE_UPLOAD_HANDLERS]: https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-FILE_UPLOAD_HANDLERS
809809
[strftime]: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior
810-
[iso8601]: http://www.w3.org/TR/NOTE-datetime
810+
[iso8601]: https://www.w3.org/TR/NOTE-datetime
811811
[drf-compound-fields]: https://drf-compound-fields.readthedocs.io
812812
[drf-extra-fields]: https://github.com/Hipo/drf-extra-fields
813813
[djangorestframework-recursive]: https://github.com/heywbj/django-rest-framework-recursive

docs/api-guide/filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ The [djangorestframework-word-filter][django-rest-framework-word-search-filter]
383383
[django-filter-drf-docs]: https://django-filter.readthedocs.io/en/latest/guide/rest_framework.html
384384
[guardian]: https://django-guardian.readthedocs.io/
385385
[view-permissions]: https://django-guardian.readthedocs.io/en/latest/userguide/assign.html
386-
[view-permissions-blogpost]: http://blog.nyaruka.com/adding-a-view-permission-to-django-models
386+
[view-permissions-blogpost]: https://blog.nyaruka.com/adding-a-view-permission-to-django-models
387387
[search-django-admin]: https://docs.djangoproject.com/en/stable/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields
388388
[django-rest-framework-filters]: https://github.com/philipn/django-rest-framework-filters
389389
[django-rest-framework-word-search-filter]: https://github.com/trollknurr/django-rest-framework-word-search-filter

docs/api-guide/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The following third party packages provide additional metadata implementations.
115115
You can also write your own adapter to work with your specific frontend.
116116
If you wish to do so, it also provides an exporter that can export those schema information to json files.
117117

118-
[cite]: http://tools.ietf.org/html/rfc7231#section-4.3.7
118+
[cite]: https://tools.ietf.org/html/rfc7231#section-4.3.7
119119
[no-options]: https://www.mnot.net/blog/2012/10/29/NO_OPTIONS
120120
[json-schema]: http://json-schema.org/
121121
[drf-schema-adapter]: https://github.com/drf-forms/drf-schema-adapter

docs/api-guide/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ The [`django-rest-framework-link-header-pagination` package][drf-link-header-pag
315315

316316
[cite]: https://docs.djangoproject.com/en/stable/topics/pagination/
317317
[link-header]: ../img/link-header-pagination.png
318-
[drf-extensions]: http://chibisov.github.io/drf-extensions/docs/
319-
[paginate-by-max-mixin]: http://chibisov.github.io/drf-extensions/docs/#paginatebymaxmixin
318+
[drf-extensions]: https://chibisov.github.io/drf-extensions/docs/
319+
[paginate-by-max-mixin]: https://chibisov.github.io/drf-extensions/docs/#paginatebymaxmixin
320320
[drf-proxy-pagination]: https://github.com/tuffnatty/drf-proxy-pagination
321321
[drf-link-header-pagination]: https://github.com/tbeadle/django-rest-framework-link-header-pagination
322322
[disqus-cursor-api]: http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api

docs/api-guide/parsers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ Modify your REST framework settings.
223223

224224
[djangorestframework-camel-case] provides camel case JSON renderers and parsers for REST framework. This allows serializers to use Python-style underscored field names, but be exposed in the API as Javascript-style camel case field names. It is maintained by [Vitaly Babiy][vbabiy].
225225

226-
[jquery-ajax]: http://api.jquery.com/jQuery.ajax/
226+
[jquery-ajax]: https://api.jquery.com/jQuery.ajax/
227227
[cite]: https://groups.google.com/d/topic/django-developers/dxI4qVzrBY4/discussion
228228
[upload-handlers]: https://docs.djangoproject.com/en/stable/topics/http/file-uploads/#upload-handlers
229-
[rest-framework-yaml]: http://jpadilla.github.io/django-rest-framework-yaml/
230-
[rest-framework-xml]: http://jpadilla.github.io/django-rest-framework-xml/
229+
[rest-framework-yaml]: https://jpadilla.github.io/django-rest-framework-yaml/
230+
[rest-framework-xml]: https://jpadilla.github.io/django-rest-framework-xml/
231231
[yaml]: http://www.yaml.org/
232232
[messagepack]: https://github.com/juanriaza/django-rest-framework-msgpack
233233
[juanriaza]: https://github.com/juanriaza

docs/api-guide/relations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ The [drf-nested-routers package][drf-nested-routers] provides routers and relati
592592

593593
The [rest-framework-generic-relations][drf-nested-relations] library provides read/write serialization for generic foreign keys.
594594

595-
[cite]: http://lwn.net/Articles/193245/
595+
[cite]: https://lwn.net/Articles/193245/
596596
[reverse-relationships]: https://docs.djangoproject.com/en/stable/topics/db/queries/#following-relationships-backward
597597
[routers]: http://www.django-rest-framework.org/api-guide/routers#defaultrouter
598598
[generic-relations]: https://docs.djangoproject.com/en/stable/ref/contrib/contenttypes/#id1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy