def contentHeaders(self, request):
    "\n        Extract the content-* headers from the L{DummyRequest} C{request}.\n\n        This returns the subset of C{request.outgoingHeaders} of headers that\n        start with 'content-'.\n        "
    contentHeaders = {}
    for (k, v) in request.responseHeaders.getAllRawHeaders():
        if k.lower().startswith(b'content-'):
            contentHeaders[k.lower()] = v[0]
    return contentHeaders
Extract the content-* headers from the L{DummyRequest} C{request}.

This returns the subset of C{request.outgoingHeaders} of headers that
start with 'content-'.
def contentHeaders(self, request):
    "\n        Extract the content-* headers from the L{DummyRequest} C{request}.\n\n        This returns the subset of C{request.outgoingHeaders} of headers that\n        start with 'content-'.\n        "
    contentHeaders = {}
    for (k, v) in request.responseHeaders.getAllRawHeaders():
        if k.lower().startswith(b'content-'):
            contentHeaders[k.lower()] = v[0]
    return contentHeaders