[openhabcloud] Removing content encoding when proxing. (#13559)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>pull/13561/head
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