Fetch: content-length header is being added to the safe-list
[WebKit-https.git] / Source / WebCore / platform / network / HTTPParsers.cpp
index 9784398..f79ea88 100644 (file)
@@ -836,6 +836,7 @@ bool isCrossOriginSafeHeader(HTTPHeaderName name, const HTTPHeaderSet& accessCon
     switch (name) {
     case HTTPHeaderName::CacheControl:
     case HTTPHeaderName::ContentLanguage:
+    case HTTPHeaderName::ContentLength:
     case HTTPHeaderName::ContentType:
     case HTTPHeaderName::Expires:
     case HTTPHeaderName::LastModified: