Allow callback to be a multimethod for HTTP requests.