411 Length Required

超文本傳輸協定 (HTTP) 411 Length Required 用戶端錯誤表示伺服器拒絕接收沒有定義 Content-Length (en-US) 頭的請求。 

Note: by specification, when sending data in a series of chunks, the Content-Length header is omitted and at the beginning of each chunk you need to add the length of the current chunk in hexadecimal format. See Transfer-Encoding (en-US) for more details.


411 Length Required


Specification Title
RFC 7231, section 6.5.10: 411 Length Required Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content