Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ImageIO in servlet: should I close the httpResp.getOutputStream() and how to set Content-Length?

Hi Bill,

no - I have just listed only a part of my real program which scales, composes several PNGs to one and also adds shapes and texts to it.

So I still wonder: 

1. How to set Content-Length (despite gzip encoding)?
2. And if I should close the output stream or not (won't that break Keep-Alive)?

I have also asked my question at https://stackoverflow.com/q/58234226/165071

Thank you
Alex




Back to the top