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 settings Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
'$placeholder' in HTTP Request | Reports a A | 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 |
Unresolved environment variable | Reports variables undeclared in the current environment HTTP Client. Executing requests with undeclared variables probably fail. Consider adding a variable to the environment or selecting an environment with this variable. Inspection doesn't report variables in request bodies, because it can be a valid syntax of the body. Some variables may be not reported as unresolved, because they are declared in response or pre-request handler scripts via | Warning |
Whitespace in URL | Highlights spaces inside URL path segments. HTTP Client will ignore them. For better composing use Split Lines action. | Weak warning |