Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 773f03f

Browse files
committed
Add missing cors headers
1 parent d9a4e7a commit 773f03f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,16 @@ public static class HttpHeaders
858858

859859
public const string AllowCredentials = "Access-Control-Allow-Credentials";
860860

861+
public const string ExposeHeaders = "Access-Control-Expose-Headers";
862+
863+
public const string AccessControlMaxAge = "Access-Control-Max-Age";
864+
865+
public const string Origin = "Origin";
866+
867+
public const string RequestMethod = "Access-Control-Request-Method";
868+
869+
public const string RequestHeaders = "Access-Control-Request-Headers";
870+
861871
public const string AcceptRanges = "Accept-Ranges";
862872

863873
public const string ContentRange = "Content-Range";

0 commit comments

Comments
 (0)