From 82e2ff65720462155b79e265cf4ca28b93082129 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 27 Feb 2017 13:05:11 +0100 Subject: [PATCH] add x-ijt to allowed headers --- platform/platform-impl/src/org/jetbrains/io/NettyUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform-impl/src/org/jetbrains/io/NettyUtil.java b/platform/platform-impl/src/org/jetbrains/io/NettyUtil.java index 9c9ba6fb96a9..38a90eaeb9a8 100644 --- a/platform/platform-impl/src/org/jetbrains/io/NettyUtil.java +++ b/platform/platform-impl/src/org/jetbrains/io/NettyUtil.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,7 +107,7 @@ public final class NettyUtil { .allowCredentials() .allowNullOrigin() .allowedRequestMethods(HttpMethod.GET, HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE, HttpMethod.HEAD, HttpMethod.PATCH) - .allowedRequestHeaders("origin", "accept", "authorization", "content-type") + .allowedRequestHeaders("origin", "accept", "authorization", "content-type", "x-ijt") .build())); }