Ejemplo n.º 1
0
        public void when_making_a_GET_request_with_response_contains_at_sign_backward_compatability_it_should_return_static_body_with_json_object_without_at_sign()
        {
            var httpClient = new HttpClient
            {
                Request =
                {
                    Accept = HttpContentTypes.ApplicationJson
                }
            };

            var response = httpClient.Get("http://*****:*****@"bormod how are you?", couchInformation.SomeValue);
        }
Ejemplo n.º 2
0
        when_making_a_GET_request_response_contains_at_sign_and_remove_at_sign_is_false_then_at_sign_remains_it_should_return_static_body_with_json_object_with_at_sign
            ()
        {
            var httpClient = new HttpClient()
            {
                ShouldRemoveAtSign = false,
                Request            =
                {
                    Accept = HttpContentTypes.ApplicationJson
                }
            };

            var response = httpClient.Get("http://*****:*****@"@bormod how are you?", couchInformation.SomeValue);
        }