Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
refactor: Add constants for HTTP Header field names
Added constants for HTTP Header field names Set Content-Disposition header to attachment for Binary requests
- Loading branch information
1 parent
a381902
commit 9c79320
Showing
4 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| namespace Spark.Engine.Core | ||
| { | ||
| internal static class HttpHeaderName | ||
| { | ||
| public const string ACCEPT = "Accept"; | ||
| public const string CONTENT_DISPOSITION = "Content-Disposition"; | ||
| public const string CONTENT_LOCATION = "Content-Location"; | ||
| public const string CONTENT_TYPE = "Content-Type"; | ||
| public const string ETAG = "ETag"; | ||
| public const string LOCATION = "Location"; | ||
| public const string LAST_MODIFIED = "Last-Modified"; | ||
|
|
||
| public const string X_CONTENT_TYPE = "X-Content-Type"; | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters