You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When handling GET requests with no content-type header set (due to not having any content) a superfluous ERROR log entry is produced. e.g.
2019-06-04 11:36:50,361 [main] ERROR c.a.s.p.i.s.AwsProxyHttpServletRequest - Called set character encoding to UTF-8 on a request without a content type. Character encoding will not be set
This results in noise in our applications logs from ALB heath-check requests which do not have a content-type header
No log is emitted at ERROR level, potentially just an INFO level message
Actual behavior
An ERROR level log message is created
Steps to reproduce
Create a Lambda using this project and send a GET request with no body or content-type header present.
Full log output
2019-06-04 11:36:50,361 [main] ERROR c.a.s.p.i.s.AwsProxyHttpServletRequest - Called set character encoding to UTF-8 on a request without a content type. Character encoding will not be set
The text was updated successfully, but these errors were encountered:
Scenario
When handling GET requests with no content-type header set (due to not having any content) a superfluous ERROR log entry is produced. e.g.
This results in noise in our applications logs from ALB heath-check requests which do not have a content-type header
Link to offending log line
Expected behavior
No log is emitted at ERROR level, potentially just an INFO level message
Actual behavior
An ERROR level log message is created
Steps to reproduce
Create a Lambda using this project and send a GET request with no body or content-type header present.
Full log output
The text was updated successfully, but these errors were encountered: