Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: API Log

Entity: api.log

Compute Method: _compute_response_headers_derived

Inputs Method Outputs
for log in self:
            headers = log.response_headers or {}
            log.response_content_type = headers.get("content-type", "")
            log.response_content_length = headers.get("content-length", 0)

Back to entity