You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@ -32,11 +32,13 @@ namespace System.Web {
|
||||
_isModified = false;
|
||||
_contentEncodings = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the Content Encodings in Cache Vary
|
||||
/// </summary>
|
||||
/// <param name="contentEncodings"></param>
|
||||
public void SetContentEncodings(string[] contentEncodings) {
|
||||
|
||||
/*
|
||||
* Reset based on content encodings.
|
||||
*/
|
||||
internal void ResetFromContentEncodings(String[] contentEncodings) {
|
||||
Reset();
|
||||
if (contentEncodings != null) {
|
||||
_isModified = true;
|
||||
@ -75,9 +77,18 @@ namespace System.Web {
|
||||
internal bool IsModified() {
|
||||
return _isModified;
|
||||
}
|
||||
|
||||
internal String[] GetContentEncodings() {
|
||||
return _contentEncodings;
|
||||
|
||||
/// <summary>
|
||||
/// Get the Content Encodings in Cache Vary
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string[] GetContentEncodings() {
|
||||
if (_contentEncodings != null) {
|
||||
string[] contentEncodings = new string[_contentEncodings.Length];
|
||||
_contentEncodings.CopyTo(contentEncodings, 0);
|
||||
return contentEncodings;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user