id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 15741,Class-based generic views dropped support for X-Object-* headers,Russell Keith-Magee,nobody,"The function-based generic views use the django.core.xheaders.populate_xheaders method to attach a X-Object-Type and X-Object-Id header to responses served by a generic view. This debug information in the response Django needs to either: 1. Deprecate and remove populate_xheaders, or 2. Add X-Object-Type and X-Object-Id header support to class-based generic views. If we choose to do (2), then we can't just wrap the generic view response in populate_xheaders, because we don't have access to the response object at the time at which we determine the object that is in use. It will probably be necessary to add generic support to define headers anywhere in the lifespan of a request, and then apply those headers when the response is constructed; i.e., in much the same way that self.request is available throughout the lifespan of a request, make self.response_headers available throughout the lifespan of a request. ",New feature,closed,Generic views,1.3,Normal,fixed,,,Accepted,0,0,0,0,0,0