added sleep - url_helper checks content-type now