From 421f815092f38a81e06254387aa85380c16b58ff Mon Sep 17 00:00:00 2001 From: Bruce Tian Date: Thu, 15 Feb 2024 23:55:55 +0800 Subject: [PATCH] fix: adding ReservedWord to TusHeaderHashSet --- src/BirdMessenger/TusHeaders.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BirdMessenger/TusHeaders.cs b/src/BirdMessenger/TusHeaders.cs index c6f30cf..ba6d05d 100644 --- a/src/BirdMessenger/TusHeaders.cs +++ b/src/BirdMessenger/TusHeaders.cs @@ -12,11 +12,13 @@ static TusHeaders() TusReservedWords.Add(UploadLength); TusReservedWords.Add(UploadOffset); TusReservedWords.Add(UploadMetadata); + TusReservedWords.Add(TusResumable); + TusReservedWords.Add(Location); TusReservedWords.Add(UploadDeferLength); TusReservedWords.Add(ContentType); TusReservedWords.Add(UploadChecksum); - TusReservedWords.Add(TusResumable); TusReservedWords.Add(UploadConcat); + TusReservedWords.Add(UploadContentTypeValue); TusReservedWords.Add(TusVersion); TusReservedWords.Add(TusMaxSize); TusReservedWords.Add(TusExtension);