Added support for url & content-type (and others) parameters.