CacheControlHeaderValue::NoTransform Property

.NET Framework (current version)
 

Whether a cache or proxy must not change any aspect of the entity-body.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
property bool NoTransform {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if a cache or proxy must not change any aspect of the entity-body; otherwise, false.

This property represents the "no-transform" directive in a cache-control header field on an HTTP request or HTTP response.

When the NoTransform is set to true, intermediate caches or rpoxies must not change any aspect of the entity body. Implementors of intermediate caches and proxies have found it useful to convert the media type of certain entity bodies. A non-transparent proxy might, for example, convert between image formats in order to save cache space or to reduce the amount of traffic on a slow link. Serious operational problems occur, however, when these transformations are applied to entity bodies intended for certain kinds of applications.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: