DRF-API-Logger
DRF-API-Logger copied to clipboard
Added support for logging APIs returning GZIP data
This change allows the API Logger to capture a log message for API calls in which the response includes content of type "application/gzip". Since the the binary archive should not be included in the log file, the response_body merely indicates the content type.
Prior to this change, API requests returning GZIP data were simply not logged.