Anonymous | Login | Signup for a new account | 11-24-2024 23:14 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005497 | [Hessian] | feature | always | 08-14-13 02:45 | 08-14-13 02:45 | |||||||
Reporter | JoergV | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 4.0.28 | |||||||||
Summary | 0005497: Support for GZIP compression | |||||||||||
Description |
This is a very similiar request as: http://bugs.caucho.com/view.php?id=4151 [^] The best compression choice for http compression is "gzip". Taken from Wikipedia: http://en.wikipedia.org/wiki/HTTP_compression [^] deflate - despite its name the zlib compression (RFC 1950) should be used (in combination with the deflate compression (RFC 1951)) as described in the RFC 2616. The implementation in the real world however seems to vary between the zlib compression and the (raw) deflate compression.[5][6] Due to this confusion, gzip has positioned itself as the more reliable default method (March 2011). It would be great if "Accept-Encoding" would be extended to "gzip, deflate" and both encodings would be supported. This can be archived with just a couple of lines. |
|||||||||||
Additional Information |
A possible solution: HessianProxy.java: conn.addHeader("Accept-Encoding", "gzip, deflate"); HessianURLConnection.java: if ("gzip".equals(contentEncoding)) { return new GZIPInputStream(_conn.getInputStream()); } return _conn.getInputStream(); |
|||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |