Allow Content-Type

This commit is contained in:
2022-07-13 04:26:24 +00:00
committed by GitHub
parent b0ef48e0e6
commit 6496197024

View File

@@ -32,7 +32,7 @@ impl ResponseJsonFor<Body> for VersionContext {
json::object! {},
true,
self.ctx,
allow_headers = [X_TOKEN],
allow_headers = [CONTENT_TYPE, X_TOKEN],
GET,
OPTIONS,
POST