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
The Unirest configuration is applied every time an action is executed, meaning the configured default header is also being appended with every execution, because the Unirest client is a singleton. In projects with a high number of modules, this can lead to the header being too big and then causing a broken pipe. The fix is simple: the method addDefaultHeader(...) needs to be replaced with setDefaultHeader(...). I have already created a pull request with the necessary fix: #420
The text was updated successfully, but these errors were encountered:
The Unirest configuration is applied every time an action is executed, meaning the configured default header is also being appended with every execution, because the Unirest client is a singleton. In projects with a high number of modules, this can lead to the header being too big and then causing a broken pipe. The fix is simple: the method addDefaultHeader(...) needs to be replaced with setDefaultHeader(...). I have already created a pull request with the necessary fix:
#420
The text was updated successfully, but these errors were encountered: