Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 537 for requester (0.11 sec)

  1. internal/http/dial_dnscache.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DuplexTest.kt

        // Second duplex request proceeds normally.
        val requestBody2 = (call.request().body as AsyncRequestBody?)!!.takeSink()
        requestBody2.writeUtf8("request body\n")
        requestBody2.close()
        val responseBody2 = response2.body.source()
        assertThat(responseBody2.readUtf8Line())
          .isEqualTo("response body")
        assertTrue(responseBody2.exhausted())
        body.awaitSuccess()
    
        // No more requests attempted!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. docs/zh/docs/contributing.md

    /// tip
    
    你可以为已有的 pull requests <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">添加包含修改建议的评论</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. docs/ja/docs/alternatives.md

    ///
    
    ### <a href="http://docs.python-requests.org" class="external-link" target="_blank">Requests</a>
    
    **FastAPI**は実際には**Requests**の代替ではありません。それらのスコープは大きく異なります。
    
    実際にはFastAPIアプリケーションの*内部*でRequestsを使用するのが一般的です。
    
    しかし、FastAPIはRequestsからかなりのインスピレーションを得ています。
    
    **Requests**は (クライアントとして) APIと*通信*するためのライブラリであり、**FastAPI**は (サーバーとして) APIを*構築*するためのライブラリです。
    
    これらは多かれ少なかれ両端にあり、お互いを補完し合っています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    /**
     * Returns true if the response headers and status indicate that this response has a (possibly
     * 0-length) body. See RFC 7231.
     */
    fun Response.promisesBody(): Boolean {
      // HEAD requests never yield a body regardless of the response headers.
      if (request.method == "HEAD") {
        return false
      }
    
      val responseCode = code
      if ((responseCode < HTTP_CONTINUE || responseCode >= 200) &&
        responseCode != HTTP_NO_CONTENT &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. internal/config/config.go

    // target is empty. Otherwise returns `SubsysInfo` for the desired target only.
    // To request the default target only, target must be set to `Default`.
    func (c Config) GetSubsysInfo(subSys, target string, redactSecrets bool) ([]SubsysInfo, error) {
    	// Check if config param requested is valid.
    	defKVS1, ok := DefaultKVS[subSys]
    	if !ok {
    		return nil, Errorf("unknown subsystem: %s", subSys)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. cmd/api-utils.go

    			t[j+2] = "0123456789ABCDEF"[c&15]
    			j += 3
    		default:
    			t[j] = s[i]
    			j++
    		}
    	}
    	return string(t)
    }
    
    // s3EncodeName encodes string in response when encodingType is specified in AWS S3 requests.
    func s3EncodeName(name, encodingType string) string {
    	if strings.ToLower(encodingType) == "url" {
    		return s3URLEncode(name)
    	}
    	return name
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * method's declaring class. This counterpart method is publicly callable.
         *
         * @param method a method whose publicly callable counterpart is requested.
         * @return the publicly callable counterpart method. Note that if the parameter
         *         method is itself declared by a public class, this method is an identity
         *         function.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    	From       *TableExpression  `parser:"\"FROM\" @@"`
    	Where      *Expression       `parser:"( \"WHERE\" @@ )?"`
    	Limit      *LitValue         `parser:"( \"LIMIT\" @@ )?"`
    }
    
    // SelectExpression represents the items requested in the select
    // statement
    type SelectExpression struct {
    	All         bool                 `parser:"  @\"*\""`
    	Expressions []*AliasedExpression `parser:"| @@ { \",\" @@ }"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    
    // in plugin
    existingThing = objects.newInstance(DefaultExistingThing.class)
    existingThing.convention("some-value")
    ```
    
    It's not acceptable to treat an unset Provider as if the convention is requested when the convention could be set elsewhere:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    // Unacceptable
    String value
    if (!getSomeProperty().isPresent()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top