return boyer moore result to http response