akrabat commented on a change in pull request #2646: Content type header
improvements
URL:
https://github.com/apache/incubator-openwhisk/pull/2646#discussion_r133987168
##########
File path:
tests/src/test/scala/whisk/core/controller/test/WebActionsApiTests.scala
##########
@@ -890,7 +998,7 @@ trait WebActionsApiTests extends ControllerTestCommon with
BeforeAndAfterEach wi
invocationsAllowed += 1
actionResult = Some(JsObject(
"headers" -> JsObject(
- "content-type" -> "xyz/bar".toJson),
+ "content-type" -> "xyzbar".toJson),
Review comment:
> Why the removal of the sub type here?
I needed an invalid media type an this was the simplest one I could think of.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services