Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,288 for Loader (0.05 sec)

  1. tests/test_param_include_in_schema.py

    from typing import Optional
    
    import pytest
    from fastapi import Cookie, FastAPI, Header, Path, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/hidden_cookie")
    async def hidden_cookie(
        hidden_cookie: Optional[str] = Cookie(default=None, include_in_schema=False),
    ):
        return {"hidden_cookie": hidden_cookie}
    
    
    @app.get("/hidden_header")
    async def hidden_header(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. internal/config/subnet/subnet.go

    	r, e := http.NewRequest(http.MethodPost, reqURL, &body)
    	if e != nil {
    		return "", e
    	}
    	r.Header.Add("Content-Type", writer.FormDataContentType())
    
    	return c.submitPost(r)
    }
    
    func (c Config) submitPost(r *http.Request) (string, error) {
    	configLock.RLock()
    	r.Header.Set(xhttp.SubnetAPIKey, c.APIKey)
    	configLock.RUnlock()
    	r.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	client := &http.Client{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    	<div class="wrapper">
    		<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
    		<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    			<jsp:param name="menuCategoryType" value="system" />
    			<jsp:param name="menuType" value="storage" />
    		</jsp:include>
    		<div class="content-wrapper">
    			<div class="content-header">
    				<div class="container-fluid">
    					<div class="row mb-2">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_details.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="suggest"/>
            <jsp:param name="menuType" value="elevateWord"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial001_an.py

    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. cmd/batch-replicate_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "APIVersion"
    	o = append(o, 0x84, 0xaa, 0x41, 0x50, 0x49, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e)
    	o = msgp.AppendString(o, z.APIVersion)
    	// string "Flags"
    	o = append(o, 0xa5, 0x46, 0x6c, 0x61, 0x67, 0x73)
    	// map header, size 3
    	// string "Filter"
    	o = append(o, 0x83, 0xa6, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader_contrib_test.go

    	cases := []struct {
    		file            string
    		recordDelimiter string
    		fieldDelimiter  string
    		header          bool
    		wantColumns     []string
    		wantTenFields   string
    		totalFields     int
    	}{
    		{
    			file:            "nyc-taxi-data-100k.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			header:          true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    return true;
                }
                if (elementName.equals("th")) {
                    if (header == null) {
                        header = document.createElement("thead");
                        currentTable.insertBefore(header, null);
                        header.appendChild(currentRow);
                    }
                    nodes.push(document.createElement("td"));
                    return true;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

        private class PushObserverCancel : PushObserver {
          override fun onRequest(
            streamId: Int,
            requestHeaders: List<Header>,
          ): Boolean {
            return true
          }
    
          override fun onHeaders(
            streamId: Int,
            responseHeaders: List<Header>,
            last: Boolean,
          ): Boolean {
            return true
          }
    
          @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

    public final class Authenticate {
      private final OkHttpClient client;
    
      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
              if (response.request().header("Authorization") != null) {
                return null; // Give up, we've already attempted to authenticate.
              }
    
              System.out.println("Authenticating for response: " + response);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top