-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add body trimming #55
Comments
Great idea. But I think It can be controlled by axios maxContentLength property. This part looks good to delegate to axios. |
The problem is that an application might need the entire response. For my use case I expect to receive multiple kilobytes of text data and it all has to be processed, meaning I need Axios to properly treat the response (ruling out |
Oh, I see. You means that It need to limit for only log data. I will consider. Thank you for feedback. |
👍 this would be very helpful |
When logging the bodies of large requests or responses it would make sense to allow them to be limited to a certain size. Otherwise large bodies clutter the console without adding value.
The text was updated successfully, but these errors were encountered: