Skip to content

Commit cf337b9

Browse files
committed
add description more
1 parent 1e46087 commit cf337b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appium/webdriver/appium_connection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ class AppiumConnection(RemoteConnection):
4343

4444
@classmethod
4545
def get_remote_connection_headers(cls, parsed_url: 'ParseResult', keep_alive: bool = True) -> Dict[str, Any]:
46-
"""Override get_remote_connection_headers in RemoteConnection"""
46+
"""Override get_remote_connection_headers in RemoteConnection to control the extra headers.
47+
This method will be used in sending a request method in this class.
48+
"""
4749
headers = RemoteConnection.get_remote_connection_headers(parsed_url, keep_alive=keep_alive)
4850
if parsed_url.path.endswith('/session'):
4951
# https://github.com/appium/appium-base-driver/pull/400

0 commit comments

Comments
 (0)