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
I need some way to [more] easily have the server respond with gzip compression. The HttpResponderBuilder does not allow for anything along these lines.
I would like to have this built in (by providing the body, it will compress it), or by having a byte[] method I can call for the already compressed data. There is already a String method that just returns a ByteArrayResource. I know I can use the withBody closure, but this closure seems like a one off with the other fluent method available.
I think it makes sense to have the ability to have something along the lines of .withGzipBody(...)
Thoughts?
The text was updated successfully, but these errors were encountered:
I need some way to [more] easily have the server respond with gzip compression. The HttpResponderBuilder does not allow for anything along these lines.
I would like to have this built in (by providing the body, it will compress it), or by having a byte[] method I can call for the already compressed data. There is already a String method that just returns a ByteArrayResource. I know I can use the withBody closure, but this closure seems like a one off with the other fluent method available.
I think it makes sense to have the ability to have something along the lines of .withGzipBody(...)
Thoughts?
The text was updated successfully, but these errors were encountered: