Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 1,540 for PUT (0.01 seconds)

  1. docs/zh/docs/tutorial/response-status-code.md

    # 响应状态码 { #response-status-code }
    
    与指定响应模型的方式相同,在以下任意*路径操作*中,可以使用 `status_code` 参数声明用于响应的 HTTP 状态码:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等...
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | 注意
    
    注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                List<Pair<String, String>> list = responseHeaderMap.get(values[0]);
                if (list == null) {
                    list = new ArrayList<>();
                    responseHeaderMap.put(values[0], list);
                }
                final String[] keyValue = StringUtils.split(values[1], ":", 2);
                if (keyValue.length == 2) {
                    list.add(new Pair<>(keyValue[0].trim(), keyValue[1].trim()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/http/Handler.java

                    }
                }
                if (handler == null) {
                    throw new IOException("Unable to find default handler for protocol: " + protocol);
                }
                PROTOCOL_HANDLERS.put(protocol, handler);
                return handler;
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    System.err.println("stderr: " + stderr);
                    System.err.println("===================================================");
    
                    logs.put(goal, stdout.toString());
                    if (exception != null) {
                        throw exception;
                    } else {
                        assertEquals(0, exitCode, "OUT:" + stdout + "\nERR:" + stderr);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/response-status-code.md

    Так само, як ви можете вказати модель відповіді, ви також можете оголосити HTTP код статусу, що використовується для відповіді, за допомогою параметра `status_code` в будь-якій з *операцій шляху*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * тощо.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | Примітка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. internal/grid/handlers.go

    		h.reqPool.Put(r)
    	}
    }
    
    // PutResponse will accept a response for reuse.
    // These should be returned by the caller.
    func (h *StreamTypeHandler[Payload, Req, Resp]) PutResponse(r Resp) {
    	if r != h.nilResp {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer)
    		h.respPool.Put(r)
    	}
    }
    
    // NewResponse creates a new response.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                            Artifact artifact = node.getArtifact();
                            Map<String, String> props = new HashMap<>(artifact.getProperties());
                            props.put(MavenArtifactProperties.PROCESSOR_TYPE, processorType);
                            node.setArtifact(artifact.setProperties(props));
                        }
                    }
                }
                return true;
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/cors.md

    * Fügen Sie es als „Middleware“ zu Ihrer **FastAPI**-Anwendung hinzu.
    
    Sie können auch angeben, ob Ihr Backend erlaubt:
    
    * Anmeldeinformationen (Autorisierungsheader, Cookies, usw.).
    * Bestimmte HTTP-Methoden (`POST`, `PUT`) oder alle mit der Wildcard `"*"`.
    * Bestimmte HTTP-Header oder alle mit der Wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/QueryProcessor.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded QueryCommand: {}", name);
            }
            queryCommandMap.put(name, queryCommand);
        }
    
        /**
         * Adds a filter to the processing pipeline.
         * After adding a filter, the filter chain is recreated to include the new filter.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top