make sure we set the content-type for requested resource urls