uploader fails without content-length