C# Class Rainy.WebService.PreventChunkedTransferEncodingResponseFilterAttribute

This is an ugly hack to prevent chunked transfer encoding which tomboy on linux has sometimes problem with. We prevent the usual ServiceStack pipeline from running; instead the last response filter closes the connection. This is bad, as we for example have to override the ContentType which would else be configured through SS.
Inheritance: System.Attribute, IHasResponseFilter
Exibir arquivo Open project: Dynalon/Rainy

Public Methods

Method Description
Copy ( ) : IHasResponseFilter
ResponseFilter ( IHttpRequest req, IHttpResponse res, object responseDto ) : void

Method Details

Copy() public method

public Copy ( ) : IHasResponseFilter
return IHasResponseFilter

ResponseFilter() public method

public ResponseFilter ( IHttpRequest req, IHttpResponse res, object responseDto ) : void
req IHttpRequest
res IHttpResponse
responseDto object
return void