Skip to content

Commit 2e40558

Browse files
committed
NPA-4610 Add Media Type Check
1 parent 2dc8d18 commit 2e40558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proxies/live/apiproxy/targets/target.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<Name>RaiseFault.415UnsupportedMediaType</Name>
1919
<Condition>request.verb = "POST" and request.header.Content-Type != "application/fhir+json" and request.header.Content-Type != "application/fhir+json; charset=utf-8"</Condition>
2020
</Step>
21+
<Step>
22+
<Name>RaiseFault.415UnsupportedMediaType</Name>
23+
<Condition>request.verb = "PATCH" and request.header.Content-Type != "application/json-patch+json"</Condition>
24+
</Step>
2125
<Step>
2226
<Name>SetRequestAWSMimeType</Name>
2327
</Step>

0 commit comments

Comments
 (0)