This is an automated email from the ASF dual-hosted git repository.
dubeejw 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 e51b748 fix rejection behavior with alterative authentication methods
(#4163)
e51b748 is described below
commit e51b7484bb40b8cd12725b495d97079d3771b23c
Author: Martin Henke <[email protected]>
AuthorDate: Tue Jan 15 16:20:37 2019 +0100
fix rejection behavior with alterative authentication methods (#4163)
---
.../src/main/scala/org/apache/openwhisk/http/BasicHttpService.scala | 1 +
1 file changed, 1 insertion(+)
diff --git
a/common/scala/src/main/scala/org/apache/openwhisk/http/BasicHttpService.scala
b/common/scala/src/main/scala/org/apache/openwhisk/http/BasicHttpService.scala
index d82591a..352be10 100644
---
a/common/scala/src/main/scala/org/apache/openwhisk/http/BasicHttpService.scala
+++
b/common/scala/src/main/scala/org/apache/openwhisk/http/BasicHttpService.scala
@@ -63,6 +63,7 @@ trait BasicHttpService extends Directives {
val prioritizeRejections = recoverRejections { rejections =>
val priorityRejection = rejections.find {
case rejection: UnacceptedResponseContentTypeRejection => true
+ case rejection: ValidationRejection => true
case _ => false
}