Inspectopedia 2024.3 Help

Redundant 'Content-Length'

Reports an explicitly set Content-Length header. The header is redundant because HTTP Client uses the actual request body length.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

HttpRequestContentLengthIsIgnored
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | HTTP Client

Last modified: 03 December 2024