LincolnPuzey
6fc4445cff
[3.0.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
...
Backport of d75436109694c286d9af48ae94ca39759d080214 from master
2020-07-23 13:13:44 +02:00
Mariusz Felisiak
331324ecce
[3.0.x] Fixed #31790 -- Fixed setting SameSite cookies flag in HttpResponse.delete_cookie().
...
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
Backport of 240cbb63bf9965c63d7a3cc9032f91410f414d46 from master.
2020-07-16 09:30:15 +02:00
Tim Park
502349ce77
[3.0.x] Fixed #31739 -- Documented dependency between HttpRequest stream IO methods and body.
...
Backport of 060576b0abac460d72714e300aa709d1e7a87dd7 from master
2020-07-08 10:41:57 +02:00
Hasan Ramezani
b61af177ee
[3.0.x] Fixed #31696 -- Updated OWASP links in docs.
...
Backport of a16080810bee8b3baf9ae7ac7b8433cb7b293e00 from master
2020-06-15 09:45:45 +02:00
Mariusz Felisiak
e19ab18773
[3.0.x] Fixed broken links in docs.
...
Backport of b28be08cac1f7cde332ca43db65bb733fa3f9bf5 from master
2020-04-28 10:10:15 +02:00
Adam Johnson
0342d47e7a
[3.0.x] Prevented (and corrected) single backtick usage in docs.
...
Backport of 1cdfe8d91215eefaa18c398069dd9c6879a9511d from master.
2020-04-01 15:15:21 +02:00
Florian Apolloner
22c25bea54
[3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
...
This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9.
Backport of 549445519ce90cc5c1e3f981853cc0c67725f3ed from master
2020-02-11 20:40:17 +01:00
Osaetin Daniel
33d2cda672
[3.0.x] Doc'd HttpResponse.set_cookie()'s secure argument.
...
Backport of 14e690ae5a6d4ddeb1ac021f78e2e6e333214ef8 from master
2019-12-13 11:06:47 +01:00
Osaetin Daniel
3ab7de0182
[3.0.x] Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
...
Backport of 15c5875e693cc972c996a921560624c355ab8fdd from master
2019-12-13 11:06:33 +01:00
Hasan Ramezani
79c92fc7b6
[3.0.x] Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
...
Backport of 52018e1615edfafcb5170ba6b473132fe2f9a534 from master
2019-12-12 10:19:38 +01:00
Baptiste Mispelon
81ddf4b164
[3.0.x] Fixed #31029 -- Used more specific links to RFCs.
...
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
2019-11-28 07:59:46 +01:00
Baptiste Mispelon
76e0846c90
[3.0.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
...
Backport of 9f1ec9efc35bbb375c9cebb3e0d8c1b7be838338 from master
2019-11-25 08:35:33 +01:00
Claude Paroz
1319124aa9
[3.0.x] Refs #26601 -- Used new-style middlewares in documentation.
...
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:06 +02:00
Claude Paroz
7203efb799
Fixed #30694 -- Documented FileResponse does not seek its file source.
2019-08-17 09:20:36 +02:00
niauah
75f8264083
Corrected StreamingHttpResponse.streaming_content description in docs.
2019-08-02 16:37:49 +02:00
Chris Jerdonek
cce47ff65a
Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object.
2019-06-20 11:48:49 +02:00
Chris Jerdonek
533311782f
Refs #30565 -- Doc'd HttpResponse.close() method.
2019-06-20 11:48:49 +02:00
ShingenPizza
de4832c49b
Fixed #30196 -- Made FileResponse set Content-Disposition inline if filename is available.
2019-05-17 12:07:27 +02:00
Troon
a3a4f5c144
Fixed #30310 -- Added support for looking up HttpHeaders.headers using underscores.
2019-05-09 16:26:52 +02:00
sage
9aa56cb0d5
Fixed #30294 -- Allowed HttpResponse to accept memoryview content.
2019-03-29 09:43:49 -04:00
Mariusz Felisiak
e449c3a832
Doc'd that HttpResponse accepts bytestrings.
2019-03-28 10:00:12 +01:00
Mariusz Felisiak
881362986a
Fixed "byte string" typo in various docs and comments.
2019-03-28 10:00:12 +01:00
Nick Pope
398afba084
Updated spelling and RFCs in HttpOnly cookie flag docs.
2019-03-27 10:09:23 -04:00
Nick Pope
2afd670de5
Removed obsolete RFC from cookie docs.
...
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.
2019-03-27 10:05:34 -04:00
Sergey Fursov
20ea68c4fe
Fixed typo in docs/ref/request-response.txt.
2019-01-27 17:30:47 -05:00
Tim Graham
8045dff98c
Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.
2019-01-17 10:50:25 -05:00
Tim Graham
ec7e179aeb
Removed versionadded/changed annotations for 2.1.
2019-01-17 10:50:25 -05:00
Santiago Basulto
4fc35a9c3e
Fixed #20147 -- Added HttpRequest.headers.
2019-01-16 13:38:47 -05:00
Adam Johnson
b71e3d635a
Added examples to HttpRequest.build_absolute_uri() docs.
2018-12-29 19:44:45 -05:00
Osaetin Daniel
cd242d185b
Fixed docs typo in HttpResponse.set_signed_cookie() signature.
2018-05-27 16:50:30 -04:00
Claude Paroz
a177f854c3
Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.
...
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-15 18:12:11 +02:00
Alex Gaynor
9a56b4b13e
Fixed #27863 -- Added support for the SameSite cookie flag.
...
Thanks Alex Gaynor for contributing to the patch.
2018-04-13 20:58:31 -04:00
Windson yang
4fe5d84666
Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse.
2018-04-04 09:56:49 -04:00
Jon Dufresne
ff05de760c
Fixed #29038 -- Removed closing slash from HTML void tags.
2018-01-21 02:09:10 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
Jonas Haag
a2851f204c
Fixed #28720 -- Added HttpRequest.get_full_path_info().
2017-11-07 15:58:05 -05:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
2017-11-01 10:57:59 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Jkrzy
da3a5cee4f
Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.
2017-08-30 06:25:51 -04:00
aruseni
ad524980ac
Fixed typo in docs/ref/request-response.txt.
2017-06-20 11:22:26 -04:00
Daniel F Moisset
8ab7ce8558
Fixed #28037 -- Clarified that QueryDict.items()/values() are generators.
2017-04-26 20:51:28 -04:00
Tim Graham
31e0b3b40b
Added links and cosmetic edits to docs/ref/request-response.txt.
2017-04-26 20:48:59 -04:00
Josh Schneier
a1b2c1d76e
Fixed #28137 -- Deprecated HttpRequest.xreadlines().
2017-04-26 19:39:22 -04:00
Tim Graham
29f607927f
Fixed spelling of "nonexistent".
2017-02-03 08:01:45 -05:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Tim Graham
5e239ae907
Fixed #27616 -- Fixed incorrect vary_on_headers() example.
2016-12-20 08:30:18 -05:00
Tim Graham
2e9fa516fd
Fixed #27592 -- Doc'd that QueryDict iter methods are Python 2 only.
2016-12-14 07:29:21 -05:00
Tim Graham
e261337eea
Fixed docs typos in lines ending with a dash.
2016-10-06 11:01:20 -04:00