Code Inspections in HTTP Client
This topic lists all GoLand code inspections available in HTTP Client.
You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
'$placeholder' in HTTP Request | Reports a $placeholder to be replaced by the user is created automatically when a tool cannot recognize a part of a request. For example, a request mapping /aaaa/*/bbb will be generated as GET localhost/aaaa/{{$placeholder}}/bbb . | Warning |
Incorrect HTTP header | Reports unknown HTTP headers that do not match any publicly known headers. The quick fix suggests adding the header to the list of custom headers when the Use custom HTTP headers option is enabled. HTTP headers from the list of custom headers will not trigger the inspection. | Warning |
Redundant 'Content-Length' | Reports an explicitly set | Warning |
Last modified: 11 February 2022