The declared length is checked against the JSON body bytes.

highlighted = computed this step

Content-Length declares the body byte count

The header declares 17 body bytes.

Content-Length=17\text{Content-Length}=17
JSON Content-LengthThe JSON request rows, body rows, field rows, and length check are recomputed from pinned bytes.JSON Content-Length - POST /api JSON body 17 bytes, fields ok=true and n=3sectionnamevaluecheckrequest linemethodPOSTparsedrequest linepath/apiparsedrequest lineversionHTTP/1.1parsedheaderHostapi.exampleexactheaderContent-Typeapplication/jsonJSONheaderContent-Length17declared bytesbodydisplay wordsok true comma n threesafe display formbodyexact hex7b226f6b223a747275652c226e223a337dpinned bytesbodybyte length17countedfieldokok=trueparsedfieldnn=3parsedcheckContent-Length17declaredcheckbody bytes17recomputedcheckmatchyessame count

The body count is recomputed

Counting the body bytes also gives 17.

body bytes=17\text{body bytes}=17
JSON Content-LengthThe JSON request rows, body rows, field rows, and length check are recomputed from pinned bytes.JSON Content-Length - POST /api JSON body 17 bytes, fields ok=true and n=3sectionnamevaluecheckrequest linemethodPOSTparsedrequest linepath/apiparsedrequest lineversionHTTP/1.1parsedheaderHostapi.exampleexactheaderContent-Typeapplication/jsonJSONheaderContent-Length17declared bytesbodydisplay wordsok true comma n threesafe display formbodyexact hex7b226f6b223a747275652c226e223a337dpinned bytesbodybyte length17countedfieldokok=trueparsedfieldnn=3parsedcheckContent-Length17declaredcheckbody bytes17recomputedcheckmatchyessame count

The counts match

The check row says yes because the declared count and counted body length are the same.

17=1717=17
JSON Content-LengthThe JSON request rows, body rows, field rows, and length check are recomputed from pinned bytes.JSON Content-Length - POST /api JSON body 17 bytes, fields ok=true and n=3sectionnamevaluecheckrequest linemethodPOSTparsedrequest linepath/apiparsedrequest lineversionHTTP/1.1parsedheaderHostapi.exampleexactheaderContent-Typeapplication/jsonJSONheaderContent-Length17declared bytesbodydisplay wordsok true comma n threesafe display formbodyexact hex7b226f6b223a747275652c226e223a337dpinned bytesbodybyte length17countedfieldokok=trueparsedfieldnn=3parsedcheckContent-Length17declaredcheckbody bytes17recomputedcheckmatchyessame count

Summary

The exact JSON body bytes satisfy the declared length.

length check passes\text{length check passes}
JSON Content-LengthThe JSON request rows, body rows, field rows, and length check are recomputed from pinned bytes.JSON Content-Length - POST /api JSON body 17 bytes, fields ok=true and n=3sectionnamevaluecheckrequest linemethodPOSTparsedrequest linepath/apiparsedrequest lineversionHTTP/1.1parsedheaderHostapi.exampleexactheaderContent-Typeapplication/jsonJSONheaderContent-Length17declared bytesbodydisplay wordsok true comma n threesafe display formbodyexact hex7b226f6b223a747275652c226e223a337dpinned bytesbodybyte length17countedfieldokok=trueparsedfieldnn=3parsedcheckContent-Length17declaredcheckbody bytes17recomputedcheckmatchyessame count