TracyWebTech/django-revproxy

View on GitHub
revproxy/response.py

Summary

Maintainability
A
55 mins
Test Coverage

Showing 1 of 1 total issue

Function get_django_response has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
Open

def get_django_response(
proxy_response, strict_cookies=False, streaming_amount=None
):
"""This method is used to create an appropriate response based on the
Content-Length of the proxy_response. If the content is bigger than
Severity: Minor
Found in revproxy/response.py - About 55 mins to fix

There are no issues that match your filters.

Category
Status