You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/security/validate_incoming_content-types.feature
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,6 @@ Feature: Validate incoming content type
11
11
"""
12
12
something
13
13
"""
14
-
Then the response status code should be 406
14
+
Then the response status code should be 415
15
15
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
16
16
And the JSON node "hydra:description" should be equal to 'The content-type "text/plain" is not supported. Supported MIME types are "application/ld+json", "application/hal+json", "application/vnd.api+json", "application/xml", "text/xml", "application/json", "text/html".'
0 commit comments