fix on model request method for a firefox bug

Signed-off-by: Stefano Ortisi <stefanoortisi@gmail.com>