mirror of https://github.com/flaggo/pydu.git
add FileName.from_any to request doc
This commit is contained in:
parent
c25e110983
commit
8cde5f50fd
|
@ -14,6 +14,10 @@ Request
|
|||
Detect filename from Content-Disposition headers if present.
|
||||
``headers`` could be a dict, list or string.
|
||||
|
||||
.. py:staticmethod:: from_any(dst=None, headers=None, url=None):
|
||||
|
||||
Detect filename from dst or headers or url.
|
||||
|
||||
|
||||
.. py:function:: pydu.request.download(url, dst=None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue