CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 03:10:00 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/django/django.git
etag: W/"2e7fca464be70aba4fbb70dfe08daac6"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=jNHo6W3nR2b2B5mZ5zdQ%2F8NINE4FxFCmuA1SoBTlXKdOkHvVNjhPxc01YWBMADPkP1YF0sjFrxS8tnY6PgT%2BH%2BGrDeAy4PqxyUMtmWPqK1759M06qeL%2FIcdX2TgcE%2FcxdJrUWzWavbra16HfQaSjrLXq4ij875bh4sXGVrf2kzONqGQ%2F2Cc4d866AU4SXA6mdwSjZT8wYTBCkx3eLJV7Jiwmw3WXzO1aaWt1ncQFeyUM9AbSh%2Fu3rZeOkRFdRdVAsBi52nF6G%2F0LAXRsFItLXQ%3D%3D--cdwiW9cLXNQiWiCN--rcCX47JWQH5hLJRtTz3uIg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.675745775.1760152199; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 03:09:59 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 03:09:59 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE34:3CB96D:23C509:34B9D1:68E9CA87
Fixed #31224 -- Added support for asynchronous views and middleware. · django/django@fc0fa72 · GitHub
Copy file name to clipboardExpand all lines: django/contrib/sessions/middleware.py
Copy file name to clipboardExpand all lines: django/core/handlers/asgi.py
Copy file name to clipboardExpand all lines: django/core/handlers/base.py
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Commit fc0fa72
Fixed #31224 -- Added support for asynchronous views and middleware.
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.1 parent 3f7e4b1 commit fc0fa72Copy full SHA for fc0fa72
File tree
Expand file treeCollapse file tree
30 files changed
+1340
-210
lines changedFilter options
- django
- contrib/sessions
- core/handlers
- test
- utils
- docs
- ref
- releases
- topics
- http
- testing
- tests
- asgi
- handlers
- middleware_exceptions
- test_client
Expand file treeCollapse file tree
30 files changed
+1340
-210
lines changedCollapse file: django/contrib/sessions/middleware.py
django/contrib/sessions/middleware.py
Copy file name to clipboardExpand all lines: django/contrib/sessions/middleware.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
|
Collapse file: django/core/handlers/asgi.py
django/core/handlers/asgi.py
Copy file name to clipboardExpand all lines: django/core/handlers/asgi.py+4-9Lines changed: 4 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
| |||
132 | 131 |
| |
133 | 132 |
| |
134 | 133 |
| |
135 |
| - | |
| 134 | + | |
136 | 135 |
| |
137 | 136 |
| |
138 | 137 |
| |
| |||
158 | 157 |
| |
159 | 158 |
| |
160 | 159 |
| |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
| 160 | + | |
| 161 | + | |
167 | 162 |
| |
168 | 163 |
| |
169 | 164 |
| |
| |||
264 | 259 |
| |
265 | 260 |
| |
266 | 261 |
| |
267 |
| - | |
| 262 | + | |
268 | 263 |
| |
269 | 264 |
| |
270 | 265 |
| |
|
Collapse file: django/core/handlers/base.py
django/core/handlers/base.py
Copy file name to clipboardExpand all lines: django/core/handlers/base.py+201-35Lines changed: 201 additions & 35 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
| 5 | + | |
| 6 | + | |
4 | 7 |
| |
5 | 8 |
| |
6 | 9 |
| |
| |||
20 | 23 |
| |
21 | 24 |
| |
22 | 25 |
| |
23 |
| - | |
| 26 | + | |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
| |||
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
33 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 |
| |
35 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
36 | 52 |
| |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
37 | 58 |
| |
38 | 59 |
| |
39 | 60 |
| |
| |||
49 | 70 |
| |
50 | 71 |
| |
51 | 72 |
| |
52 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
53 | 77 |
| |
54 |
| - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
55 | 81 |
| |
56 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
57 | 87 |
| |
58 | 88 |
| |
| 89 | + | |
59 | 90 |
| |
| 91 | + | |
| 92 | + | |
60 | 93 |
| |
61 | 94 |
| |
62 | 95 |
| |
63 | 96 |
| |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
70 | 123 |
| |
71 | 124 |
| |
72 | 125 |
| |
| |||
82 | 135 |
| |
83 | 136 |
| |
84 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
85 | 158 |
| |
86 | 159 |
| |
87 | 160 |
| |
88 | 161 |
| |
89 | 162 |
| |
90 | 163 |
| |
91 | 164 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
| 165 | + | |
103 | 166 |
| |
104 | 167 |
| |
105 | 168 |
| |
| |||
109 | 172 |
| |
110 | 173 |
| |
111 | 174 |
| |
| 175 | + | |
| 176 | + | |
| 177 | + | |
112 | 178 |
| |
113 | 179 |
| |
114 | 180 |
| |
| |||
137 | 203 |
| |
138 | 204 |
| |
139 | 205 |
| |
140 |
| - | |
| 206 | + | |
141 | 207 |
| |
142 |
| - | |
143 |
| - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
144 | 211 |
| |
145 |
| - | |
146 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
147 | 218 |
| |
148 |
| - | |
149 |
| - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
150 | 283 |
| |
151 | 284 |
| |
152 |
| - | |
153 |
| - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
154 | 289 |
| |
155 | 290 |
| |
156 | 291 |
| |
| |||
160 | 295 |
| |
161 | 296 |
| |
162 | 297 |
| |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
167 | 333 |
| |
168 | 334 |
| |
169 | 335 |
| |
|
You can’t perform that action at this time.
0 commit comments