diff --git a/noble_tls/__version__.py b/noble_tls/__version__.py index 2209908..fae245f 100644 --- a/noble_tls/__version__.py +++ b/noble_tls/__version__.py @@ -1,5 +1,5 @@ __title__ = "noble_tls" __description__ = "Advanced TLS/SSL wrapper for Python" -__version__ = "0.0.100" +__version__ = "0.0.101" __author__ = "Rawand Ahmed Shaswar" __license__ = "MIT" diff --git a/noble_tls/sessions.py b/noble_tls/sessions.py index 340ab13..85e0ad1 100644 --- a/noble_tls/sessions.py +++ b/noble_tls/sessions.py @@ -419,8 +419,6 @@ async def execute_request( current_response = build_response(response_object, response_cookie_jar) # check for redirect if allow_redirects: - print(">> [SESSION] Checking for redirect...") - if 'Location' in (headers := current_response.headers) and current_response.status_code in ( 300, 301, 302, 303, 307, 308 ): @@ -433,7 +431,6 @@ async def execute_request( # Assign the history to the final response current_response.history = history - print(">> [SESSION] Returning response") return current_response async def get( diff --git a/setup.py b/setup.py index 0ca1e38..551a2cb 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ long_description=readme, long_description_content_type="text/markdown", packages=find_packages(exclude=["tests"]), - requires=["httpx", "distro", "requests"], + install_requires=["httpx", "distro", "requests"], classifiers=[ "Environment :: Web Environment", "Intended Audience :: Developers",