mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
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:
parent
d984fd77f6
commit
1265ffa9c5
|
@ -389,6 +389,7 @@ abstract interface class HttpHeaders {
|
||||||
static const viaHeader = "via";
|
static const viaHeader = "via";
|
||||||
static const warningHeader = "warning";
|
static const warningHeader = "warning";
|
||||||
static const wwwAuthenticateHeader = "www-authenticate";
|
static const wwwAuthenticateHeader = "www-authenticate";
|
||||||
|
static const contentDisposition = "content-disposition";
|
||||||
|
|
||||||
// Cookie headers from RFC 6265.
|
// Cookie headers from RFC 6265.
|
||||||
static const cookieHeader = "cookie";
|
static const cookieHeader = "cookie";
|
||||||
|
@ -429,7 +430,8 @@ abstract interface class HttpHeaders {
|
||||||
retryAfterHeader,
|
retryAfterHeader,
|
||||||
serverHeader,
|
serverHeader,
|
||||||
varyHeader,
|
varyHeader,
|
||||||
wwwAuthenticateHeader
|
wwwAuthenticateHeader,
|
||||||
|
contentDisposition
|
||||||
];
|
];
|
||||||
|
|
||||||
static const requestHeaders = [
|
static const requestHeaders = [
|
||||||
|
|
Loading…
Reference in a new issue