I recently encountered some behavior in nginx that struck me as odd. Nginx has long had a client_max_body_size setting which controls how large of a HTTP POST or file upload the server will accept by comparing to the Content-Length header specifically. Attemping to send a request larger than this results in a 413 Request Entity Too Large error from the server. But is this always the case?