public void Configuration(Owin.IAppBuilder app) { app.UseLightNode(new LightNodeOptions(AcceptVerbs.Get | AcceptVerbs.Post, new JilContentFormatter(), new GZipJilContentFormatter()) { StreamWriteOption = StreamWriteOption.BufferAndWrite }); }
public void Configuration(Owin.IAppBuilder app) { app.UseErrorPage(); app.UseLightNode( new LightNodeOptions(AcceptVerbs.Get | AcceptVerbs.Post, new JavaScriptContentTypeFormatter())); }