This is an automated email from the ASF dual-hosted git repository. markusthoemmes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new 8bb248a Remove synthetic header. (#2766) 8bb248a is described below commit 8bb248a65d92f3da5dd975ca9cf945a148bf7eed Author: rodric rabbah <rod...@gmail.com> AuthorDate: Wed Oct 4 02:55:24 2017 -0400 Remove synthetic header. (#2766) --- .../src/main/scala/whisk/core/controller/WebActions.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/controller/src/main/scala/whisk/core/controller/WebActions.scala b/core/controller/src/main/scala/whisk/core/controller/WebActions.scala index 0b42d40..0a12036 100644 --- a/core/controller/src/main/scala/whisk/core/controller/WebActions.scala +++ b/core/controller/src/main/scala/whisk/core/controller/WebActions.scala @@ -38,6 +38,7 @@ import akka.http.scaladsl.model.HttpEntity import akka.http.scaladsl.server.Route import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport._ import akka.http.scaladsl.model.headers.`Content-Type` +import akka.http.scaladsl.model.headers.`Timeout-Access` import akka.http.scaladsl.model.ContentType import akka.http.scaladsl.model.ContentTypes import akka.http.scaladsl.model.FormData @@ -108,7 +109,12 @@ private case class Context(propertyMap: WebApiDirectives, def metadata(user: Option[Identity]): Map[String, JsValue] = { Map( propertyMap.method -> method.value.toLowerCase.toJson, - propertyMap.headers -> headers.map(h => h.lowercaseName -> h.value).toMap.toJson, + propertyMap.headers -> headers + .collect { + case h if h.name != `Timeout-Access`.name => h.lowercaseName -> h.value + } + .toMap + .toJson, propertyMap.path -> path.toJson) ++ user.map(u => propertyMap.namespace -> u.namespace.asString.toJson) } -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].