code: def test_base_url_affects_filter_redirects(
      app_client_base_url_prefix,
  ):
      path = "/fixtures/binary_data?_filter_column=rowid&_filter_op=exact&_filter_value=1&_sort=rowid"
      response = app_client_base_url_prefix.get(path)
      assert response.status_code == 302
      assert (
          response.headers["location"]
          == "/prefix/fixtures/binary_data?_sort=rowid&rowid__exact=1"
      )
  
imports: from bs4 import BeautifulSoup
  from datasette.utils import allowed_pragmas
  from .fixtures import app_client, app_client_base_url_prefix, app_client_shorter_time_limit, app_client_two_attached_databases, make_app_client, METADATA
  from .utils import assert_footer_links, inner_html
  import copy
  import json
  import pathlib
  import pytest
  import re
  import urllib.parse
label_desc: Use image node_id 17 for calling a global function with example usage: test_base_url_affects_filter_redirects(app_client_base_url_prefix) without return types