在Context-Encoding解壓輸出瀏覽器gzip壓縮文件報錯

response.getOutputStream().write("寫入數據成功".getBytes()); response.setHeader(「content-encoding」,「gzip」); //瀏覽器默認只對gzip文件自動解壓 不能在response.setHeader上面添加response.getOutputStream()       報
相關文章
相關標籤/搜索