[416] 413
(Payload Too Large)
は、要求の payload が鯖の処理できるサイズよりも大きいことを表す状態符号です。
[4] 413
は、要求の payload が鯖が処理する意志がある、
あるいは処理できるよりも大きいために要求を拒むことを示しています >>1。
[415] 鯖は、この状態が一時的なものである場合、クライアントが再試行してもよい時刻を表す
Retry-After:
ヘッダーを生成するべきです >>1。
[414] 鯖は、クライアントが要求を継続することを防ぐため、 接続を閉じても構いません >>1。
[417] 鯖は接続を閉じない場合には、通常の HTTP の規則に従い当該要求を末尾まで読み飛ばさなければなりません。
[418] クライアントは要求を送信した途中で 413
を受信した場合、 Transfer-Encoding: chunked
なら直近の chunk
の後最後の chunk を送信して要求の送信を終えられますし、
Transfer-Encoding:
も Content-Length:
もなければ任意の位置でHTTP接続を閉じることで終えられますが、
Content-Length:
を指定している場合には、
その長さまで要求を送信しなければなりません。
[8] nginx は応答本体の最大サイズを設定ファイルの client_max_body_size
で指定できるようにしており、それを超えると 413
を返します。
既定値は 1MB です。 >>7
The server is refusing to process a request because the request entity is larger than the server is willing or able to process. The server
mayMAY close the connection to prevent the client from continuing the request.
サーバーは、その処理する意思がある、又は処理することができるのよりも要求された実態が大きいがために、要求を処理するのを拒否しています。 サーバーは、クライアントが要求を継続するのを防ぐために接続を閉じても構いません。
If the condition is temporary, the server SHOULD include a Retry-After header field to indicate that it is temporary and after what time the client
mayMAY try again.
この状況が一時的なものであれば、サーバーは Retry-After
頭欄を含めてこれが一時的であって、どれだけの時間の後クライアントが再挑戦しても構わないかを示すべきです。
413 - File too large The XML that is being submitted exceeds the Custom Search limit.
Verify that your file is not exceeding the size limit, which is documented on the Selecting Sites to Search page and the Promotions page.
If you are certain that the file size doesn't exceed the limit, try again later.