Added missing content-disposition header

Closes https://github.com/dart-lang/sdk/pull/53129

GitOrigin-RevId: beb751dd77fcc201323199eb297265e2177c60b3
Change-Id: Ic693d15d44a7478f4387668d85a3b3c85adc191e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318620
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
This commit is contained in:
(AJ) Zin Kyaw 2023-08-09 13:36:10 +00:00 committed by Commit Queue
parent d984fd77f6
commit 1265ffa9c5

View file

@ -389,6 +389,7 @@ abstract interface class HttpHeaders {
static const viaHeader = "via";
static const warningHeader = "warning";
static const wwwAuthenticateHeader = "www-authenticate";
static const contentDisposition = "content-disposition";
// Cookie headers from RFC 6265.
static const cookieHeader = "cookie";
@ -429,7 +430,8 @@ abstract interface class HttpHeaders {
retryAfterHeader,
serverHeader,
varyHeader,
wwwAuthenticateHeader
wwwAuthenticateHeader,
contentDisposition
];
static const requestHeaders = [