Skip to content

Commit 878f9d2

Browse files
jdufresnecarltongibson
authored andcommitted
Prefer https:// for URLs when available throughout project (#6208)
1 parent d1514d1 commit 878f9d2

35 files changed

+69
-69
lines changed

ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- [ ] I have verified that that issue exists against the `master` branch of Django REST framework.
44
- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
55
- [ ] This is not a usage question. (Those should be directed to the [discussion group](https://groups.google.com/forum/#!forum/django-rest-framework) instead.)
6-
- [ ] This cannot be dealt with as a third party library. (We prefer new functionality to be [in the form of third party libraries](http://www.django-rest-framework.org/topics/third-party-resources/#about-third-party-packages) where possible.)
6+
- [ ] This cannot be dealt with as a third party library. (We prefer new functionality to be [in the form of third party libraries](https://www.django-rest-framework.org/topics/third-party-resources/#about-third-party-packages) where possible.)
77
- [ ] I have reduced the issue to the simplest possible case.
88
- [ ] I have included a failing test as a pull request. (If you are unable to do so we can still accept the issue.)
99

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# License
22

3-
Copyright © 2011-present, [Encode OSS Ltd](http://www.encode.io/).
3+
Copyright © 2011-present, [Encode OSS Ltd](https://www.encode.io/).
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
**Awesome web-browsable Web APIs.**
88

9-
Full documentation for the project is available at [http://www.django-rest-framework.org][docs].
9+
Full documentation for the project is available at [https://www.django-rest-framework.org/][docs].
1010

1111
---
1212

@@ -163,7 +163,7 @@ Or to create a new user:
163163

164164
# Documentation & Support
165165

166-
Full documentation for the project is available at [http://www.django-rest-framework.org][docs].
166+
Full documentation for the project is available at [https://www.django-rest-framework.org/][docs].
167167

168168
For questions and support, use the [REST framework discussion group][group], or `#restframework` on freenode IRC.
169169

@@ -202,17 +202,17 @@ Send a description of the issue via email to [rest-framework-security@googlegrou
202202
[cadre-url]: https://cadre.com/
203203
[load-impact-url]: https://loadimpact.com/?utm_campaign=Sponsorship%20links&utm_source=drf&utm_medium=drf
204204

205-
[oauth1-section]: http://www.django-rest-framework.org/api-guide/authentication/#django-rest-framework-oauth
206-
[oauth2-section]: http://www.django-rest-framework.org/api-guide/authentication/#django-oauth-toolkit
207-
[serializer-section]: http://www.django-rest-framework.org/api-guide/serializers/#serializers
208-
[modelserializer-section]: http://www.django-rest-framework.org/api-guide/serializers/#modelserializer
209-
[functionview-section]: http://www.django-rest-framework.org/api-guide/views/#function-based-views
210-
[generic-views]: http://www.django-rest-framework.org/api-guide/generic-views/
211-
[viewsets]: http://www.django-rest-framework.org/api-guide/viewsets/
212-
[routers]: http://www.django-rest-framework.org/api-guide/routers/
213-
[serializers]: http://www.django-rest-framework.org/api-guide/serializers/
214-
[authentication]: http://www.django-rest-framework.org/api-guide/authentication/
215-
[image]: http://www.django-rest-framework.org/img/quickstart.png
216-
217-
[docs]: http://www.django-rest-framework.org/
205+
[oauth1-section]: https://www.django-rest-framework.org/api-guide/authentication/#django-rest-framework-oauth
206+
[oauth2-section]: https://www.django-rest-framework.org/api-guide/authentication/#django-oauth-toolkit
207+
[serializer-section]: https://www.django-rest-framework.org/api-guide/serializers/#serializers
208+
[modelserializer-section]: https://www.django-rest-framework.org/api-guide/serializers/#modelserializer
209+
[functionview-section]: https://www.django-rest-framework.org/api-guide/views/#function-based-views
210+
[generic-views]: https://www.django-rest-framework.org/api-guide/generic-views/
211+
[viewsets]: https://www.django-rest-framework.org/api-guide/viewsets/
212+
[routers]: https://www.django-rest-framework.org/api-guide/routers/
213+
[serializers]: https://www.django-rest-framework.org/api-guide/serializers/
214+
[authentication]: https://www.django-rest-framework.org/api-guide/authentication/
215+
[image]: https://www.django-rest-framework.org/img/quickstart.png
216+
217+
[docs]: https://www.django-rest-framework.org/
218218
[security-mail]: mailto:[email protected]

docs/api-guide/format-suffixes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ It is actually a misconception. For example, take the following quote from Roy
9090
The quote does not mention Accept headers, but it does make it clear that format suffixes should be considered an acceptable pattern.
9191

9292
[cite]: http://tech.groups.yahoo.com/group/rest-discuss/message/5857
93-
[cite2]: http://tech.groups.yahoo.com/group/rest-discuss/message/14844
93+
[cite2]: https://groups.yahoo.com/neo/groups/rest-discuss/conversations/topics/14844

docs/api-guide/metadata.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,5 @@ If you wish to do so, it also provides an exporter that can export those schema
117117

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

docs/api-guide/pagination.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,5 @@ The [`django-rest-framework-link-header-pagination` package][drf-link-header-pag
319319
[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
322-
[disqus-cursor-api]: http://cra.mr/2011/03/08/building-cursors-for-the-disqus-api
322+
[disqus-cursor-api]: https://cra.mr/2011/03/08/building-cursors-for-the-disqus-api
323323
[float_cursor_pagination_example]: https://gist.github.com/keturn/8bc88525a183fd41c73ffb729b8865be#file-fpcursorpagination-py

docs/api-guide/relations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ The [rest-framework-generic-relations][drf-nested-relations] library provides re
594594

595595
[cite]: https://lwn.net/Articles/193245/
596596
[reverse-relationships]: https://docs.djangoproject.com/en/stable/topics/db/queries/#following-relationships-backward
597-
[routers]: http://www.django-rest-framework.org/api-guide/routers#defaultrouter
597+
[routers]: https://www.django-rest-framework.org/api-guide/routers#defaultrouter
598598
[generic-relations]: https://docs.djangoproject.com/en/stable/ref/contrib/contenttypes/#id1
599599
[drf-nested-routers]: https://github.com/alanjds/drf-nested-routers
600600
[drf-nested-relations]: https://github.com/Ian-Foote/rest-framework-generic-relations

docs/api-guide/renderers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,13 @@ Comma-separated values are a plain-text tabular data format, that can be easily
521521
[browser-accept-headers]: http://www.gethifi.com/blog/browser-rest-http-accept-headers
522522
[testing]: testing.md
523523
[HATEOAS]: http://timelessrepo.com/haters-gonna-hateoas
524-
[quote]: http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
524+
[quote]: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
525525
[application/vnd.github+json]: https://developer.github.com/v3/media/
526526
[application/vnd.collection+json]: http://www.amundsen.com/media-types/collection/
527527
[django-error-views]: https://docs.djangoproject.com/en/stable/topics/http/views/#customizing-error-views
528528
[rest-framework-jsonp]: https://jpadilla.github.io/django-rest-framework-jsonp/
529529
[cors]: https://www.w3.org/TR/cors/
530-
[cors-docs]: http://www.django-rest-framework.org/topics/ajax-csrf-cors/
530+
[cors-docs]: https://www.django-rest-framework.org/topics/ajax-csrf-cors/
531531
[jsonp-security]: https://stackoverflow.com/questions/613962/is-jsonp-safe-to-use
532532
[rest-framework-yaml]: https://jpadilla.github.io/django-rest-framework-yaml/
533533
[rest-framework-xml]: https://jpadilla.github.io/django-rest-framework-xml/

docs/api-guide/routers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ The [wq.db package][wq.db] provides an advanced [ModelRouter][wq.db-router] clas
325325

326326
The [`DRF-extensions` package][drf-extensions] provides [routers][drf-extensions-routers] for creating [nested viewsets][drf-extensions-nested-viewsets], [collection level controllers][drf-extensions-collection-level-controllers] with [customizable endpoint names][drf-extensions-customizable-endpoint-names].
327327

328-
[cite]: http://guides.rubyonrails.org/routing.html
328+
[cite]: https://guides.rubyonrails.org/routing.html
329329
[route-decorators]: viewsets.md#marking-extra-actions-for-routing
330330
[drf-nested-routers]: https://github.com/alanjds/drf-nested-routers
331331
[wq.db]: https://wq.io/wq.db

docs/api-guide/schemas.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -829,12 +829,12 @@ in [OpenAPI][open-api] format.
829829

830830

831831
[cite]: https://blog.heroku.com/archives/2014/1/8/json_schema_for_heroku_platform_api
832-
[coreapi]: http://www.coreapi.org/
833-
[corejson]: http://www.coreapi.org/specification/encoding/#core-json-encoding
832+
[coreapi]: https://www.coreapi.org/
833+
[corejson]: https://www.coreapi.org/specification/encoding/#core-json-encoding
834834
[drf-yasg]: https://github.com/axnsan12/drf-yasg/
835835
[open-api]: https://openapis.org/
836836
[drf-openapi]: https://github.com/limdauto/drf_openapi
837-
[json-hyperschema]: http://json-schema.org/latest/json-schema-hypermedia.html
837+
[json-hyperschema]: https://json-schema.org/latest/json-schema-hypermedia.html
838838
[api-blueprint]: https://apiblueprint.org/
839839
[static-files]: https://docs.djangoproject.com/en/stable/howto/static-files/
840840
[named-arguments]: https://docs.djangoproject.com/en/stable/topics/http/urls/#named-groups

docs/api-guide/validators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ A validator may be any callable that raises a `serializers.ValidationError` on f
275275

276276
You can specify custom field-level validation by adding `.validate_<field_name>` methods
277277
to your `Serializer` subclass. This is documented in the
278-
[Serializer docs](http://www.django-rest-framework.org/api-guide/serializers/#field-level-validation)
278+
[Serializer docs](https://www.django-rest-framework.org/api-guide/serializers/#field-level-validation)
279279

280280
## Class-based
281281

docs/api-guide/viewsets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,5 +314,5 @@ To create a base viewset class that provides `create`, `list` and `retrieve` ope
314314

315315
By creating your own base `ViewSet` classes, you can provide common behavior that can be reused in multiple viewsets across your API.
316316

317-
[cite]: http://guides.rubyonrails.org/routing.html
317+
[cite]: https://guides.rubyonrails.org/routing.html
318318
[routers]: routers.md

docs/community/3.0-announcement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,6 @@ The 3.2 release is planned to introduce an alternative admin-style interface to
960960
You can follow development on the GitHub site, where we use [milestones to indicate planning timescales](https://github.com/encode/django-rest-framework/milestones).
961961

962962
[kickstarter]: https://www.kickstarter.com/projects/tomchristie/django-rest-framework-3
963-
[sponsors]: http://www.django-rest-framework.org/topics/kickstarter-announcement/#sponsors
963+
[sponsors]: https://www.django-rest-framework.org/topics/kickstarter-announcement/#sponsors
964964
[mixins.py]: https://github.com/encode/django-rest-framework/blob/master/rest_framework/mixins.py
965965
[django-localization]: https://docs.djangoproject.com/en/stable/topics/i18n/translation/#localization-how-to-create-language-files

docs/community/3.2-announcement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We've also fixed a huge number of issues, and made numerous cleanups and improve
1010

1111
Over the course of the 3.1.x series we've [resolved nearly 600 tickets](https://github.com/encode/django-rest-framework/issues?utf8=%E2%9C%93&q=closed%3A%3E2015-03-05) on our GitHub issue tracker. This means we're currently running at a rate of **closing around 100 issues or pull requests per month**.
1212

13-
None of this would have been possible without the support of our wonderful Kickstarter backers. If you're looking for a job in Django development we'd strongly recommend taking [a look through our sponsors](http://www.django-rest-framework.org/topics/kickstarter-announcement/#sponsors) and finding out who's hiring.
13+
None of this would have been possible without the support of our wonderful Kickstarter backers. If you're looking for a job in Django development we'd strongly recommend taking [a look through our sponsors](https://www.django-rest-framework.org/topics/kickstarter-announcement/#sponsors) and finding out who's hiring.
1414

1515
## AdminRenderer
1616

docs/community/3.4-announcement.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ The full set of itemized release notes [are available here][release-notes].
178178
[sponsors]: https://fund.django-rest-framework.org/topics/funding/#our-sponsors
179179
[moss]: mozilla-grant.md
180180
[funding]: funding.md
181-
[core-api]: http://www.coreapi.org/
181+
[core-api]: https://www.coreapi.org/
182182
[command-line-client]: api-clients#command-line-client
183183
[client-library]: api-clients#python-client-library
184-
[core-json]: http://www.coreapi.org/specification/encoding/#core-json-encoding
184+
[core-json]: https://www.coreapi.org/specification/encoding/#core-json-encoding
185185
[swagger]: https://openapis.org/specification
186-
[hyperschema]: http://json-schema.org/latest/json-schema-hypermedia.html
186+
[hyperschema]: https://json-schema.org/latest/json-schema-hypermedia.html
187187
[api-blueprint]: https://apiblueprint.org/
188188
[tut-7]: ../tutorial/7-schemas-and-client-libraries/
189189
[schema-generation]: ../api-guide/schemas/

docs/community/funding.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ REST framework continues to be open-source and permissively licensed, but we fir
123123

124124
## What funding has enabled so far
125125

126-
* The [3.4](http://www.django-rest-framework.org/topics/3.4-announcement/) and [3.5](http://www.django-rest-framework.org/topics/3.5-announcement/) releases, including schema generation for both Swagger and RAML, a Python client library, a Command Line client, and addressing of a large number of outstanding issues.
127-
* The [3.6](http://www.django-rest-framework.org/topics/3.6-announcement/) release, including JavaScript client library, and API documentation, complete with auto-generated code samples.
128-
* The [3.7 release](http://www.django-rest-framework.org/topics/3.7-announcement/), made possible due to our collaborative funding model, focuses on improvements to schema generation and the interactive API documentation.
129-
* The recent [3.8 release](http://www.django-rest-framework.org/topics/3.8-announcement/).
126+
* The [3.4](https://www.django-rest-framework.org/topics/3.4-announcement/) and [3.5](https://www.django-rest-framework.org/topics/3.5-announcement/) releases, including schema generation for both Swagger and RAML, a Python client library, a Command Line client, and addressing of a large number of outstanding issues.
127+
* The [3.6](https://www.django-rest-framework.org/topics/3.6-announcement/) release, including JavaScript client library, and API documentation, complete with auto-generated code samples.
128+
* The [3.7 release](https://www.django-rest-framework.org/topics/3.7-announcement/), made possible due to our collaborative funding model, focuses on improvements to schema generation and the interactive API documentation.
129+
* The recent [3.8 release](https://www.django-rest-framework.org/topics/3.8-announcement/).
130130
* Tom Christie, the creator of Django REST framework, working on the project full-time.
131131
* Around 80-90 issues and pull requests closed per month since Tom Christie started working on the project full-time.
132132
* A community & operations manager position part-time for 4 months, helping mature the business and grow sponsorship.
@@ -341,7 +341,7 @@ For further enquires please contact <a href=mailto:funding@django-rest-framework
341341

342342
## Accountability
343343

344-
In an effort to keep the project as transparent as possible, we are releasing [monthly progress reports](http://www.encode.io/reports/march-2018) and regularly include financial reports and cost breakdowns.
344+
In an effort to keep the project as transparent as possible, we are releasing [monthly progress reports](https://www.encode.io/reports/march-2018) and regularly include financial reports and cost breakdowns.
345345

346346
<!-- Begin MailChimp Signup Form -->
347347
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">

docs/community/kickstarter-announcement.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Our gold sponsors include companies large and small. Many thanks for their signi
7878
<li><a href="https://mirusresearch.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-mirus_research.png);">Mirus Research</a></li>
7979
<li><a href="https://hipolabs.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-hipo.png);">Hipo</a></li>
8080
<li><a href="https://www.byte.nl/" rel="nofollow" style="background-image:url(../../img/sponsors/2-byte.png);">Byte</a></li>
81-
<li><a href="http://lightningkite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-lightning_kite.png);">Lightning Kite</a></li>
81+
<li><a href="https://www.lightningkite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-lightning_kite.png);">Lightning Kite</a></li>
8282
<li><a href="https://opbeat.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-opbeat.png);">Opbeat</a></li>
8383
<li><a href="https://koordinates.com" rel="nofollow" style="background-image:url(../../img/sponsors/2-koordinates.png);">Koordinates</a></li>
8484
<li><a href="http://pulsecode.ca" rel="nofollow" style="background-image:url(../../img/sponsors/2-pulsecode.png);">Pulsecode Inc.</a></li>
@@ -116,7 +116,7 @@ The serious financial contribution that our silver sponsors have made is very mu
116116
<li><a href="https://garfo.io/" rel="nofollow" style="background-image:url(../../img/sponsors/3-garfo.png);">Garfo</a></li>
117117
<li><a href="https://goshippo.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-shippo.png);">Shippo</a></li>
118118
<li><a href="http://www.gizmag.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-gizmag.png);">Gizmag</a></li>
119-
<li><a href="http://www.tivix.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-tivix.png);">Tivix</a></li>
119+
<li><a href="https://www.tivix.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-tivix.png);">Tivix</a></li>
120120
<li><a href="https://www.safaribooksonline.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-safari.png);">Safari</a></li>
121121
<li><a href="http://brightloop.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-brightloop.png);">Bright Loop</a></li>
122122
<li><a href="http://www.aba-systems.com.au/" rel="nofollow" style="background-image:url(../../img/sponsors/3-aba.png);">ABA Systems</a></li>
@@ -131,7 +131,7 @@ The serious financial contribution that our silver sponsors have made is very mu
131131
<li><a href="https://fluxility.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-fluxility.png);">Fluxility</a></li>
132132
<li><a href="https://teonite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-teonite.png);">Teonite</a></li>
133133
<li><a href="https://trackmaven.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-trackmaven.png);">TrackMaven</a></li>
134-
<li><a href="http://www.phurba.net/" rel="nofollow" style="background-image:url(../../img/sponsors/3-phurba.png);">Phurba</a></li>
134+
<li><a href="https://www.phurba.net/" rel="nofollow" style="background-image:url(../../img/sponsors/3-phurba.png);">Phurba</a></li>
135135
<li><a href="https://www.nephila.it/it/" rel="nofollow" style="background-image:url(../../img/sponsors/3-nephila.png);">Nephila</a></li>
136136
<li><a href="http://www.aditium.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-aditium.png);">Aditium</a></li>
137137
<li><a href="https://www.eyesopen.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-openeye.png);">OpenEye Scientific Software</a></li>

0 commit comments

Comments
 (0)