Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,500 for PUT (0.02 seconds)

  1. docs/en/docs/advanced/settings.md

    ///
    
    And then the `admin_email` setting would be set to `"******@****.***"`.
    
    The `app_name` would be `"ChimichangApp"`.
    
    And the `items_per_user` would keep its default value of `50`.
    
    ## Settings in another module { #settings-in-another-module }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. cmd/object-handlers-common.go

    	return false
    }
    
    // Validates the preconditions. Returns true if PUT operation should not proceed.
    // Preconditions supported are:
    //
    //	x-minio-source-mtime
    //	x-minio-source-etag
    func checkPreconditionsPUT(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    	// Return false for methods other than PUT.
    	if r.Method != http.MethodPut && r.Method != http.MethodPost {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/response-headers.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/vibe.md

    **FastAPI** now supports a new `@app.vibe()` decorator that embraces **modern AI coding best practices**. 🤖
    
    ## How It Works { #how-it-works }
    
    The `@app.vibe()` decorator is intended to receive **any HTTP method** (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, etc.) and **any payload**.
    
    The body should be annotated with `Any`, because the request and the response would be... well... **anything**. 🤷
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneRestTestPlugin.java

            IdeaModel idea = project.getExtensions().getByType(IdeaModel.class);
            idea.getModule().getTestSourceDirs().addAll(testSourceSet.getJava().getSrcDirs());
            idea.getModule()
                .getScopes()
                .put(
                    "TEST",
                    Map.of("plus", Arrays.asList(project.getConfigurations().getByName(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME)))
                );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 05 08:34:36 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

        mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_put_all(client: TestClient):
        response = client.put(
            "/items/123",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

            } catch (InvocationTargetException exception) {
              responseQueue.put(new Response(request.methodName, null, exception.getTargetException()));
              continue;
            } catch (Throwable throwable) {
              responseQueue.put(new Response(request.methodName, null, throwable));
              continue;
            }
            responseQueue.put(new Response(request.methodName, result, null));
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/first-steps.md

    #### Operation { #operation }
    
    "Operation" here refers to one of the HTTP "methods".
    
    One of:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...and the more exotic ones:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    In the HTTP protocol, you can communicate to each path using one (or more) of these "methods".
    
    ---
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/index.md

    ---
    
    回到前面的程式碼範例,**FastAPI** 會:
    
    * 驗證 `GET` 與 `PUT` 請求的路徑中是否包含 `item_id`。
    * 驗證 `GET` 與 `PUT` 請求中的 `item_id` 是否為 `int` 型別。
        * 如果不是,客戶端會看到清楚有用的錯誤。
    * 在 `GET` 請求中檢查是否有名為 `q` 的可選查詢參數(如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        * 因為 `q` 參數被宣告為 `= None`,所以它是可選的。
        * 若沒有 `None`,則它會是必填(就像 `PUT` 時的 body)。
    * 對於 `/items/{item_id}` 的 `PUT` 請求,以 JSON 讀取 body:
        * 檢查是否有必填屬性 `name`,且為 `str`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/AbstractIterator.java

      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      @Override
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top