mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
4.1.0.0b19
This commit is contained in:
parent
1c54f59feb
commit
60a1803e28
@ -14,4 +14,4 @@ from ._pages.chromium_page import ChromiumPage
|
||||
from ._pages.mix_page import MixPage
|
||||
from ._pages.mix_page import MixPage as WebPage
|
||||
|
||||
__version__ = '4.1.0.0b18'
|
||||
__version__ = '4.1.0.0b19'
|
||||
|
@ -348,7 +348,7 @@ class ChromiumBaseSetter(BrowserBaseSetter):
|
||||
files = (files,)
|
||||
self._owner._upload_list = [str(Path(i).absolute()) for i in files]
|
||||
|
||||
def headers(self, headers) -> None:
|
||||
def headers(self, headers):
|
||||
"""设置固定发送的headers
|
||||
:param headers: dict格式的headers数据,或从浏览器复制的headers文本(\n分行)
|
||||
:return: None
|
||||
@ -494,7 +494,7 @@ class MixPageSetter(ChromiumPageSetter):
|
||||
self._cookies_setter = MixPageCookiesSetter(self._owner)
|
||||
return self._cookies_setter
|
||||
|
||||
def headers(self, headers) -> None:
|
||||
def headers(self, headers):
|
||||
"""设置固定发送的headers
|
||||
:param headers: dict格式的headers数据
|
||||
:return: None
|
||||
@ -525,7 +525,7 @@ class MixTabSetter(TabSetter):
|
||||
self._cookies_setter = MixPageCookiesSetter(self._owner)
|
||||
return self._cookies_setter
|
||||
|
||||
def headers(self, headers) -> None:
|
||||
def headers(self, headers):
|
||||
"""设置固定发送的headers
|
||||
:param headers: dict格式的headers数据
|
||||
:return: None
|
||||
|
Loading…
x
Reference in New Issue
Block a user