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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 15 additions & 15 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)