code: def test_accept_default_application_json(self, app, client):
      api = restplus.Api(app)
      api.add_resource(Foo, "/test/")
  
      res = client.get("/test/", headers={"Accept": None})
      assert res.status_code == 200
      assert res.content_type == "application/json"
  
file_path: flask-restplus/tests/test_accept.py
imports: from __future__ import unicode_literals
  import flask_restplus
label_desc: Use image node_id 1 for calling the ErrorsTest obj's underlying member method code with example usage: obj.test_accept_default_application_json(app, client) without return types