fix for absent X-Openrosa-Accept-Content-Length header, fix for previews