79730086

Date: 2025-08-08 17:47:18
Score: 0.5
Natty:
Report link

You can use HttpRequest.BodyPublishers.ofByteArray(...) in stead of ofByteArrays(...) .
The Content-Length header will then be set.
The only drawback is, that first you will have to join the list of byteArrays into 1 byteArray.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pim Nijdam