Open IfpnI opened 10 years ago
This would be good to get merged, we sometimes have massive bodies (usually those that cause exceptions) and cannot send them out.
Is there any objection to this, otherwise I can submit a PR for it.
@jshirley If possible a test would be great before we can merge this.
After looking at this, and comparing to our own scenarios, I think it makes a lot more sense to instead just allow people to compose their own filters.
The approach I'll submit via PR shortly will just wrap 'data' : self.get_sentry_request_body()
and people can overload get_sentry_request_body
to filter for their particular applications.
If we really do want to not post files, then it will be easier to do it as a separate method, too.
Sound good?
My quick fix is: