]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Type hint HTTPFile attributes 3048/head
authorMichael V. DePalatis <mike@depalatis.net>
Tue, 3 Aug 2021 15:04:00 +0000 (09:04 -0600)
committerMichael V. DePalatis <mike@depalatis.net>
Tue, 3 Aug 2021 15:05:23 +0000 (09:05 -0600)
tornado/httputil.py

index c0c57e6e95394fc2b3322b8fa6cf5a84d27ee341..12313f351c5cafb0f5cb094a9f689a91d5fe1af2 100644 (file)
@@ -664,7 +664,9 @@ class HTTPFile(ObjectDict):
     * ``content_type``
     """
 
-    pass
+    filename: str
+    body: bytes
+    content_type: str
 
 
 def _parse_request_range(