You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<strong>url: </strong> The url of the request (read only)
233
233
</List.Item>
234
234
<List.Item>
235
-
<strong>headers: </strong> The headers of the request (read only). The keys and values are exactly the same as the original request (case sensitive).
235
+
<strong>headers: </strong> The headers of the request (read only). The keys and values are exactly the same as the original request (case sensitive). (values can be list in case the same header field is repeated)
236
236
</List.Item>
237
237
<List.Item>
238
-
<strong>get_header(key:str, default = None): </strong> A function that returns the value of a header: it matches the key without case sensitivity. If the header is not found, it returns the default value.
238
+
<strong>get_header(key:str, default = None): </strong> A function that returns the value of a header: it matches the key without case sensitivity. If the header is not found, it returns the default value. (if the same header field is repeated, its value is concatenated with a comma, this function will never return a list)
239
239
</List.Item>
240
240
<List.Item>
241
241
<strong>user_agent: </strong> The user agent of the request (read only)
<strong>should_upgrade: </strong> It's true if the connection should be upgraded, false if it's not. (read only)
263
263
</List.Item>
264
+
<List.Item>
265
+
<strong>upgrading_to_h2: </strong> It's true if the connection is upgrading to h2, false if it's not. (read only)
266
+
</List.Item>
267
+
<List.Item>
268
+
<strong>ws_stream: </strong> It's a list of websockets.frames.Frame decoded (permessage-deflate is supported). (read only) [<ahref="https://websockets.readthedocs.io/en/stable/">docs</a>]
269
+
</List.Item>
270
+
<List.Item>
271
+
<strong>upgrading_to_ws: </strong> It's true if the connection is upgrading to ws, false if it's not. (read only)
272
+
</List.Item>
264
273
<List.Item>
265
274
<strong>method: </strong> The method of the request (read only)
<strong>url: </strong> The url of the response (read only)
295
304
</List.Item>
296
305
<List.Item>
297
-
<strong>headers: </strong> The headers of the response (read only). The keys and values are exactly the same as the original response (case sensitive).
306
+
<strong>headers: </strong> The headers of the response (read only). The keys and values are exactly the same as the original response (case sensitive). (values can be list in case the same header field is repeated)
298
307
</List.Item>
299
308
<List.Item>
300
-
<strong>get_header(key:str, default = None): </strong> A function that returns the value of a header: it matches the key without case sensitivity. If the header is not found, it returns the default value.
309
+
<strong>get_header(key:str, default = None): </strong> A function that returns the value of a header: it matches the key without case sensitivity. If the header is not found, it returns the default value. (if the same header field is repeated, its value is concatenated with a comma, this function will never return a list)
301
310
</List.Item>
302
311
<List.Item>
303
312
<strong>user_agent: </strong> The user agent of the response (read only)
<strong>should_upgrade: </strong> It's true if the connection should be upgraded, false if it's not. (read only)
325
334
</List.Item>
335
+
<List.Item>
336
+
<strong>upgrading_to_h2: </strong> It's true if the connection is upgrading to h2, false if it's not. (read only)
337
+
</List.Item>
338
+
<List.Item>
339
+
<strong>ws_stream: </strong> It's a list of websockets.frames.Frame decoded (permessage-deflate is supported). (read only) [<ahref="https://websockets.readthedocs.io/en/stable/">docs</a>]
340
+
</List.Item>
341
+
<List.Item>
342
+
<strong>upgrading_to_ws: </strong> It's true if the connection is upgrading to ws, false if it's not. (read only)
343
+
</List.Item>
326
344
<List.Item>
327
345
<strong>status_code: </strong> The status code of the response (read only) (int)
0 commit comments