- Version: 8.x, 6.x, 4.x (It could be all the versions)
- Platform: all
- Subsystem: http
Node http core module throws a TypeError - The header content contains invalid characters in the case of invalid characters present in any of the headers.
It would be awesome, if the name of the header is also gets added, as part of the error message here
Right now it is really difficlut to identify the root cause of the issue, from the error message.
The debuglog has the header name, however, enabling the http debuglog on a production like environment, generates lots of logs and it makes it really difficult to find the root cause of the issue from debuglogs.
Node
httpcore module throws a TypeError -The header content contains invalid charactersin the case of invalid characters present in any of the headers.It would be awesome, if the name of the header is also gets added, as part of the error message here
Right now it is really difficlut to identify the root cause of the issue, from the error message.
The
debugloghas the header name, however, enabling thehttpdebuglog on a production like environment, generates lots of logs and it makes it really difficult to find the root cause of the issue from debuglogs.