IIS POST大小限制
IIS Post大小限制:maxAllowedContentLength默認30000000字節(jié)(約28M), maxRequestLength默認4MB,如果POST的參數(shù)很大,比如需要傳base64字符串,需要設(shè)置這兩個參數(shù),系統(tǒng)判斷時哪個小采用哪個,
<system.web>
<compilation debug="true" targetFramework="4.5.2" />
<httpRuntime targetFramework="4.5.2" enableVersionHeader="false" maxRequestLength="204800" />
</system.web>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="300000000" />
</requestFiltering>
</security>
本文來自博客園,作者:GIS民工,轉(zhuǎn)載請注明原文鏈接:http://www.rzrgm.cn/kook2007/p/17548252.html

浙公網(wǎng)安備 33010602011771號