コード例 #1
0
ファイル: CouchResponse.cs プロジェクト: Rychard/LoveSeat
 public CouchResponse(HttpWebResponse response)
 {
     responseString = response.GetResponseString();
     statusCode = response.StatusCode;
     statusDescription = response.StatusDescription;
     etag = response.Headers["ETag"];
 }
        private static Uri UriResponseMapper(HttpWebResponse response)
        {
            var uri = response.GetResponseString();

            return new Uri(uri, UriKind.Absolute);
        }