code: def create_headers(
      content_type="application/json",
      x_content_type_options="nosniff",
      content_security_policy="",
  ):
      return Headers(
          {
              "Content-Type": content_type,
              "X-Content-Type-Options": x_content_type_options,
              "Content-Security-Policy": content_security_policy,
          }
      )
  
file_path: tensorboard/tensorboard/backend/security_validator_test.py
imports: from unittest import mock
  import werkzeug
  from werkzeug import test
  from werkzeug.datastructures import Headers
  from werkzeug.wrappers import Response
  from tensorboard import test
  from tensorboard.backend import security_validator
  from tensorboard.util import tb_logging
label_desc: Use image node_id 1 for calling a global function with example usage: create_headers(content_type, x_content_type_options, content_security_policy) and returns: Headers