Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
rawandahmad698 committed Jan 10, 2024
1 parent f54d722 commit cce0541
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion noble_tls/__version__.py
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 0 additions & 3 deletions noble_tls/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand All @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cce0541

Please sign in to comment.