Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,126 for requests (0.04 sec)

  1. docs/zh/docs/advanced/openapi-callbacks.md

    本例没有实现回调本身(只是一行代码),只有文档部分。
    
    /// tip | 提示
    
    实际的回调只是 HTTP 请求。
    
    实现回调时,要使用 <a href="https://www.encode.io/httpx/" class="external-link" target="_blank">HTTPX</a> 或 <a href="https://requests.readthedocs.io/" class="external-link" target="_blank">Requests</a>。
    
    ///
    
    ## 编写回调文档代码
    
    应用不执行这部分代码,只是用它来*记录 外部 API* 。
    
    但,您已经知道用 **FastAPI** 创建自动 API 文档有多简单了。
    
    我们要使用与存档*外部 API* 相同的知识……通过创建外部 API 要实现的*路径操作*(您的 API 要调用的)。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

        /** The request being built. */
        protected Req request;
    
        /**
         * Constructor for RequestBuilder.
         * @param client The OpenSearch client.
         * @param request The request instance.
         */
        public RequestBuilder(final Client client, final Req request) {
            this.client = client;
            this.request = request;
        }
    
        /**
         * Executes the request.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/00-bug.yml

    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
    name: Bugs
    description: The go command, standard library, or anything else
    title: "import/path: issue title"
    
    body:
      - type: markdown
        attributes:
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. .github/workflows/update-test-buckets.yml

                echo "changes=true" >> $GITHUB_OUTPUT
              else
                echo "changes=false" >> $GITHUB_OUTPUT
              fi
          - name: Create Pull Request
            if: steps.check-changes.outputs.changes == 'true'
            uses: peter-evans/create-pull-request@v8
            with:
              commit-message: Update test buckets
              branch: devprod/update-test-buckets
              branch-suffix: timestamp
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    			Claims:          cred.Claims,
    		}) {
    			// Request is allowed return the appropriate access key.
    			return ErrNone
    		}
    	}
    
    	return ErrAccessDenied
    }
    
    // Check request auth type verifies the incoming http request
    //   - validates the request signature
    //   - validates the policy action if anonymous tests bucket policies if any,
    //     for authenticated requests validates IAM policies.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. README.md

    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    ----------------
    
    This program posts data to a service. [Full source][post_example].
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. fastapi/exception_handlers.py

    from fastapi.websockets import WebSocket
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 16 17:21:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. .github/workflows/update-perf-test-buckets.yml

              ./gradlew performance:writePerformanceTimes -Porg.gradle.performance.db.url=${{ env.PERFORMANCE_DB_URL }} -Porg.gradle.performance.db.username=${{ env.PERFORMANCE_DB_USERNAME }}
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v8
            with:
              commit-message: Update performance test durations
              branch: bot-update-performance-test-durations
              branch-suffix: timestamp
              delete-branch: true
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     *
     * <p>Parameters:
     * <ul>
     * <li>ENCODING - The character encoding to use for request parameters.</li>
     * <li>TOKEN_URL - The URL to request the token from.</li>
     * <li>TOKEN_PATTERN - The regex pattern to extract the token from the response.</li>
     * <li>TOKEN_NAME - The name of the token parameter.</li>
     * <li>TOKEN_METHOD - The HTTP method to use for the token request (GET or POST).</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for handling "go" requests that redirect users to specific documents
     * or search results. This form captures the necessary parameters for document
     * access tracking and error page fallback information.
     *
     */
    public class GoForm {
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top