In Zope2's HTTPRequest, any key starting with 'HTTP_' will be returned as having a default empty string value if the key is not actually present. The following might be a better bridge::
header_present = bool(request.get('HTTP_ACCEPT_CHARSET'))
We'll need to add tests for this, as well.
In Zope2's HTTPRequest, any key starting with 'HTTP_' will be
returned as having a default empty string value if the key
is not actually present. The following might be a better bridge::
header_present = bool(request. get('HTTP_ ACCEPT_ CHARSET' ))
We'll need to add tests for this, as well.