using System; using System.IO; namespace WebApi.Restful.Middlewares { public class MemoryWrappedHttpResponseStream : MemoryStream { private Stream _innerStream; public MemoryWrappedHttpResponseStream(Stream innerStream) { this._innerStream = innerStr
function getUrlRequestParam(name) { var paramUrl = window.location.search.substr(1); var paramStrs = paramUrl.split('&'); var params = {}; for (var index = 0; index < paramStrs.length; index++) { params[paramStrs[index].split('=')[0]] = decodeURI(p