code: def test_response_redirect():
      response = Response.redirect("/foo")
      assert 302 == response.status
      assert "/foo" == response.headers["Location"]
  
imports: from datasette.utils.asgi import Response
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_response_redirect() without return types