mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[openhabcloud] Removing content encoding when proxing. (#13559)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
This commit is contained in:
parent
a02e345f96
commit
03cdc5e1b4
@ -237,6 +237,8 @@ public class CloudService implements ActionService, CloudClientListener, EventSu
|
||||
if (!httpClient.isRunning()) {
|
||||
try {
|
||||
httpClient.start();
|
||||
// we act as a blind proxy, don't try to auto decode content
|
||||
httpClient.getContentDecoderFactories().clear();
|
||||
} catch (Exception e) {
|
||||
logger.error("Could not start Jetty http client", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user