There is a controller instance for each request (each thread), if the `:apipie_req_script_name` is stored on the instance there should be no problems.