code: def test_content_type_header(self, app):
      api = restplus.Api(app)
      form_parser = api.parser()
      form_parser.add_argument(
          "param", type=int, help="Some param", location="form"
      )
  
      file_parser = api.parser()
      file_parser.add_argument(
          "in_files", type=FileStorage, location="files"
      )
  
      @api.route("/json/")
      class TestJson(restplus.Resource):
          @api.doc("json")
          def post(self):
              pass
  
      @api.route("/form/")
      class TestForm(restplus.Resource):
          @api.doc("form")
          @api.expect(form_parser)
          def post(self):
              pass
  
      @api.route("/file/")
      class TestFile(restplus.Resource):
          @api.doc("file")
          @api.expect(file_parser)
          def post(self):
              pass
  
      @api.route("/get/")
      class TestGet(restplus.Resource):
          @api.doc("get")
          def get(self):
              pass
  
      data = api.as_postman(urlvars=True)
  
      validate(data, schema)
      requests = dict(
          (r["name"], r["headers"]) for r in data["requests"]
      )
  
      assert requests["json"] == "Content-Type:application/json"
      assert requests["form"] == "Content-Type:multipart/form-data"
      assert requests["file"] == "Content-Type:multipart/form-data"
  
      # No content-type on get
      assert requests["get"] == ""
  
imports: from __future__ import unicode_literals, absolute_import
  import json
  from os.path import join, dirname
  from jsonschema import validate
  from werkzeug.datastructures import FileStorage
  import flask_restplus
  from six.moves.urllib.parse import parse_qs, urlparse
label_desc: Use image node_id 13 for calling the PostmanTest obj's underlying member method code with example usage: obj.test_content_type_header(app) without return types