4.1.0.0b19

This commit is contained in:
g1879 2024-07-31 17:32:26 +08:00
parent 1c54f59feb
commit 60a1803e28
2 changed files with 4 additions and 4 deletions

View File

@ -14,4 +14,4 @@ from ._pages.chromium_page import ChromiumPage
from ._pages.mix_page import MixPage from ._pages.mix_page import MixPage
from ._pages.mix_page import MixPage as WebPage from ._pages.mix_page import MixPage as WebPage
__version__ = '4.1.0.0b18' __version__ = '4.1.0.0b19'

View File

@ -348,7 +348,7 @@ class ChromiumBaseSetter(BrowserBaseSetter):
files = (files,) files = (files,)
self._owner._upload_list = [str(Path(i).absolute()) for i in files] self._owner._upload_list = [str(Path(i).absolute()) for i in files]
def headers(self, headers) -> None: def headers(self, headers):
"""设置固定发送的headers """设置固定发送的headers
:param headers: dict格式的headers数据或从浏览器复制的headers文本\n分行 :param headers: dict格式的headers数据或从浏览器复制的headers文本\n分行
:return: None :return: None
@ -494,7 +494,7 @@ class MixPageSetter(ChromiumPageSetter):
self._cookies_setter = MixPageCookiesSetter(self._owner) self._cookies_setter = MixPageCookiesSetter(self._owner)
return self._cookies_setter return self._cookies_setter
def headers(self, headers) -> None: def headers(self, headers):
"""设置固定发送的headers """设置固定发送的headers
:param headers: dict格式的headers数据 :param headers: dict格式的headers数据
:return: None :return: None
@ -525,7 +525,7 @@ class MixTabSetter(TabSetter):
self._cookies_setter = MixPageCookiesSetter(self._owner) self._cookies_setter = MixPageCookiesSetter(self._owner)
return self._cookies_setter return self._cookies_setter
def headers(self, headers) -> None: def headers(self, headers):
"""设置固定发送的headers """设置固定发送的headers
:param headers: dict格式的headers数据 :param headers: dict格式的headers数据
:return: None :return: None