后來在IIS官方論壇的帖子HTTP 400. The size of the request headers is too long中得知,這個(gè)錯(cuò)誤是Http.sys返回的,請(qǐng)求頭長(zhǎng)度限制是由注冊(cè)表HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters中的兩個(gè)參數(shù)決定的:MaxFieldLength與MaxRequestBytes,缺省值都是16384字節(jié),詳見Http.sys registry settings...
www.dbjr.com.cn/yunying/1336...html 2025-5-15