Home
last modified time | relevance | path

Searched refs:RequestUri (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/hyper-0.10.16/src/
H A Duri.rs25 pub enum RequestUri { enum
53 impl FromStr for RequestUri { implementation
56 fn from_str(s: &str) -> Result<RequestUri, Error> { in from_str() argument
61 Ok(RequestUri::Star) in from_str()
63 Ok(RequestUri::AbsolutePath(s.to_owned())) in from_str()
71 Ok(RequestUri::Authority(s.to_owned())) in from_str()
76 impl Display for RequestUri { implementation
82 RequestUri::Star => f.write_str("*") in fmt()
89 fn read(s: &str, result: RequestUri) { in test_uri_fromstr() argument
93 read("*", RequestUri::Star); in test_uri_fromstr()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/hyper/src/
H A Duri.rs25 pub enum RequestUri { enum
53 impl FromStr for RequestUri { implementation
56 fn from_str(s: &str) -> Result<RequestUri, Error> { in from_str() argument
61 Ok(RequestUri::Star) in from_str()
63 Ok(RequestUri::AbsolutePath(s.to_owned())) in from_str()
71 Ok(RequestUri::Authority(s.to_owned())) in from_str()
76 impl Display for RequestUri { implementation
82 RequestUri::Star => f.write_str("*") in fmt()
89 fn read(s: &str, result: RequestUri) { in test_uri_fromstr() argument
93 read("*", RequestUri::Star); in test_uri_fromstr()
[all …]
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/hyper-0.10.16/src/
H A Duri.rs25 pub enum RequestUri { enum
53 impl FromStr for RequestUri { implementation
56 fn from_str(s: &str) -> Result<RequestUri, Error> { in from_str() argument
61 Ok(RequestUri::Star) in from_str()
63 Ok(RequestUri::AbsolutePath(s.to_owned())) in from_str()
71 Ok(RequestUri::Authority(s.to_owned())) in from_str()
76 impl Display for RequestUri { implementation
82 RequestUri::Star => f.write_str("*") in fmt()
89 fn read(s: &str, result: RequestUri) { in test_uri_fromstr() argument
93 read("*", RequestUri::Star); in test_uri_fromstr()
[all …]
/dports/www/websocat/websocat-1.9.0/cargo-crates/hyper-0.10.16/src/
H A Duri.rs25 pub enum RequestUri { enum
53 impl FromStr for RequestUri { implementation
56 fn from_str(s: &str) -> Result<RequestUri, Error> { in from_str() argument
61 Ok(RequestUri::Star) in from_str()
63 Ok(RequestUri::AbsolutePath(s.to_owned())) in from_str()
71 Ok(RequestUri::Authority(s.to_owned())) in from_str()
76 impl Display for RequestUri { implementation
82 RequestUri::Star => f.write_str("*") in fmt()
89 fn read(s: &str, result: RequestUri) { in test_uri_fromstr() argument
93 read("*", RequestUri::Star); in test_uri_fromstr()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/tests/FunctionalTests/
H A DHttpRequestMessageTest.cs27 Assert.Equal(null, rm.RequestUri); in Ctor_Default_CorrectDefaults()
38 Assert.Equal(new Uri("/relative", UriKind.Relative), rm.RequestUri); in Ctor_RelativeStringUri_CorrectValues()
49 Assert.Equal(new Uri("http://host/absolute/"), rm.RequestUri); in Ctor_AbsoluteStringUri_CorrectValues()
57 Assert.Equal(null, rm.RequestUri); in Ctor_NullStringUri_Accepted()
72 Assert.Equal(uri, rm.RequestUri); in Ctor_RelativeUri_CorrectValues()
84 Assert.Equal(uri, rm.RequestUri); in Ctor_AbsoluteUri_CorrectValues()
92 Assert.Equal(null, rm.RequestUri); in Ctor_NullUri_Accepted()
129 Assert.Equal(new Uri("http://example.com"), rm.RequestUri); in Dispose_DisposeObject_ContentGetsDisposedAndSettersWillThrowButGettersStillWork()
146 rm.RequestUri = uri; in Properties_SetPropertiesAndGetTheirValue_MatchingValues()
150 Assert.Equal(uri, rm.RequestUri); in Properties_SetPropertiesAndGetTheirValue_MatchingValues()
[all …]
/dports/irc/smuxi/smuxi-1.1/lib/Twitterizer/Twitterizer2/OAuth/
H A DWebRequestBuilder.cs91 public Uri RequestUri { get; set; } property in Twitterizer.WebRequestBuilder
188 this.RequestUri = requestUri; in WebRequestBuilder()
197 if (string.IsNullOrEmpty(this.RequestUri.Query)) return; in WebRequestBuilder()
204 … this.RequestUri = new Uri(this.RequestUri.AbsoluteUri.Replace(this.RequestUri.Query, "")); in WebRequestBuilder()
297 request = (HttpWebRequest)WebRequestCreator.ClientHttp.Create(this.RequestUri); in PrepareRequest()
299 …if (this.RequestUri.Host.Contains("search.twitter.com") || this.RequestUri.Host.Contains("api.twit… in PrepareRequest()
305 request = (HttpWebRequest)WebRequest.Create(this.RequestUri); in PrepareRequest()
376 StringBuilder requestParametersBuilder = new StringBuilder(this.RequestUri.AbsoluteUri); in AddQueryStringParametersToUri()
377 requestParametersBuilder.Append(this.RequestUri.Query.Length == 0 ? "?" : "&"); in AddQueryStringParametersToUri()
394 this.RequestUri = new Uri(requestParametersBuilder.ToString()); in AddQueryStringParametersToUri()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Net.Http/System.Net.Http/
H A DHttpRequestMessage.cs58 RequestUri = requestUri; in HttpRequestMessage()
87 public Uri RequestUri { property in System.Net.Http.HttpRequestMessage
151 sb.Append (", RequestUri: '").Append (RequestUri != null ? RequestUri.ToString () : "<null>"); in ToString()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/ModelBinding/
H A DQueryStringBindingTests.cs29RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}{1}", action, queryString)), in Query_String_Binds_Simple_Types_Get()
54RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}{1}", action, queryString)), in Query_String_Binds_Simple_Types_Post()
73RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}?{1}", action, queryString)), in Query_String_ComplexType_Type_Get()
99RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}?{1}", action, queryString)), in Query_String_ComplexType_Type_Post()
H A DBodyBindingTests.cs27 RequestUri = new Uri(baseAddress + "ModelBinding/PostComplexWithValidation"), in Body_Bad_Input_Receives_Validation_Error()
49 RequestUri = new Uri(baseAddress + "ModelBinding/PostComplexWithValidation"), in Body_Good_Input_Succeed()
80 RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}", action)), in Body_Binds_ComplexType_Type_Key_Value_Read()
110 RequestUri = new Uri(baseAddress + String.Format("ModelBinding/{0}", action)), in Body_Binds_ComplexType_Type_Whole_Body_Read()
H A DDefaultActionValueBinderTest.cs82 RequestUri = new Uri("http://localhost?A1=&A2=&A3=&A4=") in BindValuesAsync_ConvertEmptyString()
110RequestUri = new Uri("http://localhost?id=5&firstName=queryFirstName&lastName=queryLastName") in BindValuesAsync_Query_String_Values_To_Simple_Types()
136RequestUri = new Uri("http://localhost?id=5&firstName=queryFirstName&lastName=queryLastName") in BindValuesAsync_Query_String_Values_To_Simple_Types_With_FromUriAttribute()
162RequestUri = new Uri("http://localhost?id=5&firstName=queryFirstName&lastName=queryLastName") in BindValuesAsync_Query_String_Values_To_Complex_Types()
189RequestUri = new Uri("http://localhost?id=5&firstName=queryFirstName&lastName=queryLastName") in BindValuesAsync_Query_String_Values_To_Post_Complex_Types()
404 RequestUri = new Uri("http://localhost") in BindValuesAsync_RouteData_Values_To_Simple_Types()
435 RequestUri = new Uri("http://localhost") in BindValuesAsync_RouteData_Values_To_Simple_Types_Using_FromUriAttribute()
466 RequestUri = new Uri("http://localhost") in BindValuesAsync_RouteData_Values_To_Complex_Types()
497 RequestUri = new Uri("http://localhost") in BindValuesAsync_RouteData_Values_To_Complex_Types_Using_FromUriAttribute()
735 RequestUri = new Uri("http://localhost/ActionValueController/PostFromBody?id=123"), in BindValuesAsync_Body_To_Complex_And_Uri_To_Simple()
[all …]
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKMap/GKMap.Core/
H A DSocksHttpWeb.cs57 public override Uri RequestUri property in GKMap.SocksHttpWebRequest
147 ….AppendFormat("{0} {1} HTTP/1.0\r\nHost: {2}\r\n", Method, RequestUri.PathAndQuery, RequestUri.Hos… in BuildHttpRequestMessage()
182 var proxyUri = Proxy.GetProxy(RequestUri); in InternalGetResponse()
188 _socksConnection.Connect(RequestUri.Host, 80); in InternalGetResponse()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.SelfHost.Test/
H A DDeeplyNestedTypeTests.cs43 request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostNest")); in PostDeeplyNestedTypeInXmlThrows()
60 request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostNest")); in PostNotTooDeeplyNestedTypeInXmlWorks()
81 request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostJToken")); in PostDeeplyNestedTypeInFormUrlEncodedThrows()
98 request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostJToken")); in PostNotTooDeeplyNestedTypeInFormUrlEncodedWorks()
119 … request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostNestedList")); in PostNestedListInFormUrlEncodedWorks()
140 request.RequestUri = new Uri(Path.Combine(baseAddress, "DeepNestedType/PostXElement")); in PostBigArrayWorks()
H A DMaxHttpCollectionKeyTests.cs48 … request.RequestUri = new Uri(Path.Combine(baseAddress, "MaxHttpCollectionKeyType/" + actionName)); in PostManyKeysInFormUrlEncodedThrows()
70 … request.RequestUri = new Uri(Path.Combine(baseAddress, "MaxHttpCollectionKeyType/" + actionName)); in PostNotTooManyKeysInFormUrlEncodedWorks()
94 …request.RequestUri = new Uri(Path.Combine(baseAddress, "MaxHttpCollectionKeyType/" + actionName + … in PostManyKeysInUriThrows()
123 …request.RequestUri = new Uri(Path.Combine(baseAddress, "MaxHttpCollectionKeyType/" + actionName + … in PostNotTooManyKeysInUriWorks()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Activation/System/ServiceModel/Activation/
H A DHostedHttpTransportManager.cs109 TraceMessageReceived(result.EventTraceActivity, result.RequestUri); in CreateReceiveBytesActivity()
114 StartReceiveBytesActivity(retval, result.RequestUri); in CreateReceiveBytesActivity()
138 if (base.TryLookupUri(result.RequestUri, result.GetHttpMethod(), in HttpContextReceived()
165 …FoundException(SR.Hosting_ListenerNotFoundForActivationInRecycling(result.RequestUri.ToString()))); in HttpContextReceived()
170 …EndpointNotFoundException(SR.Hosting_ListenerNotFoundForActivation(result.RequestUri.ToString()))); in HttpContextReceived()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http.WinHttpHandler/src/System/Net/Http/
H A DWinHttpAuthHelper.cs64 Uri uri = state.RequestMessage.RequestUri; in CheckResponseForAuthentication()
186 proxyUri = state.Proxy.GetProxy(state.RequestMessage.RequestUri); in PreAuthenticateRequest()
191 proxyUri = state.RequestMessage.RequestUri; in PreAuthenticateRequest()
208 state.RequestMessage.RequestUri, in PreAuthenticateRequest()
215 state.RequestMessage.RequestUri, in PreAuthenticateRequest()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Managed/
H A DAuthenticateAndRedirectHandler.cs126 location = new Uri(request.RequestUri, location); in SendAsync()
131 …(HttpUtilities.IsSupportedNonSecureScheme(request.RequestUri.Scheme) && HttpUtilities.IsSupportedS… in SendAsync()
132 …(HttpUtilities.IsSupportedSecureScheme(request.RequestUri.Scheme) && HttpUtilities.IsSupportedSecu… in SendAsync()
145 request.RequestUri = location; in SendAsync()
H A DCookieHandler.cs25 string cookieHeader = _cookieContainer.GetCookieHeader(request.RequestUri); in SendAsync()
39 _cookieContainer.SetCookies(response.RequestMessage.RequestUri, setCookie); in SendAsync()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Http.Data/
H A DQueryFilterAttribute.cs49 …if (request != null && request.RequestUri != null && !String.IsNullOrWhiteSpace(request.RequestUri in ShouldInlineCount()
52 var parsedQuery = request.RequestUri.ParseQueryString(); in ShouldInlineCount()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Net.Http.Formatting/Formatting/Parsers/
H A DHttpRequestLineParser.cs49 RequestUri, enumerator
164 requestLineState = HttpRequestLineState.RequestUri; in ParseRequestLine()
170 goto case HttpRequestLineState.RequestUri; in ParseRequestLine()
172 case HttpRequestLineState.RequestUri: in ParseRequestLine()
203 httpRequest.RequestUri = currentToken.ToString(); in ParseRequestLine()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Http/Mono.Http/
H A DNtlmClient.cs52 NetworkCredential cred = credentials.GetCredential (request.RequestUri, "NTLM"); in Authenticate()
136 NtlmSession ds = (NtlmSession) cache [request.RequestUri]; in Authenticate()
139 cache.Add (request.RequestUri, ds); in Authenticate()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http/
H A DQueryableAttribute.cs62 …if (request != null && request.RequestUri != null && !String.IsNullOrWhiteSpace(request.RequestUri in OnActionExecuted()
64 Uri requestUri = request.RequestUri; in OnActionExecuted()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/uap/System/Net/
H A DHttpHandlerToFilter.cs108 ProcessResponseCookies(response, request.RequestUri); in SendAsync()
138 redirectUri = new Uri(request.RequestUri, redirectUri.OriginalString); in SendAsync()
147 if (request.RequestUri.Scheme == Uri.UriSchemeHttps && in SendAsync()
164 request.RequestUri = redirectUri; in SendAsync()
258 request.RequestUri); in ConvertRequestAsync()
308 string cookieHeader = _handler.CookieContainer.GetCookieHeader(request.RequestUri); in ConvertRequestAsync()
/dports/www/websocat/websocat-1.9.0/src/
H A Dhttp_serve.rs3 use self::hyper::uri::RequestUri;
4 use self::hyper::uri::RequestUri::AbsolutePath;
44 incoming: Option<Incoming<(Method, RequestUri)>>, in http_serve() argument
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Net.Http/Test/System.Net.Http/
H A DHttpRequestMessageTest.cs63 Assert.IsNull (m.RequestUri, "#5"); in Ctor_Default()
73 Assert.AreEqual ("http://xamarin.com/", c.RequestUri.AbsoluteUri, "#1"); in Ctor_Uri()
76 Assert.AreEqual ("https://xamarin.com/", c.RequestUri.AbsoluteUri, "#2"); in Ctor_Uri()
79 Assert.AreEqual ("http://xamarin.com:8080/", c.RequestUri.AbsoluteUri, "#3"); in Ctor_Uri()
99 Assert.AreEqual (req.RequestUri, uri); in Ctor_RelativeUri()
123 Assert.IsFalse (req.RequestUri.IsAbsoluteUri); in Ctor_RelativeUriString()
759 c.RequestUri = null; in Properties()
765 Assert.IsNull (c.RequestUri, "#4"); in Properties()
780 c.RequestUri = new Uri ("ftp://xamarin.com"); in Properties_Invalid()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/ContentNegotiation/
H A DHttpResponseReturnTests.cs39 … request.RequestUri = new Uri(baseAddress + String.Format("HttpResponseReturn/{0}", action)); in ActionReturnsHttpResponseMessage()
58 … request.RequestUri = new Uri(baseAddress + String.Format("HttpResponseReturn/{0}", action)); in ActionReturnsHttpResponseMessageWithExplicitMediaType()
74 … request.RequestUri = new Uri(baseAddress + String.Format("HttpResponseReturn/{0}", action)); in ReturnMultipleSetCookieHeadersShouldWork()

12345678910>>...13