Update ums.php,add gzip support 

add gzip content upzip and support the raw type data meanwhile