Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 304 (0.17 sec)

  1. cmd/object-handlers-common.go

    			return true
    		}
    	}
    
    	// If-None-Match : Return the object only if its entity tag (ETag) is different from the
    	// one specified otherwise, return a 304 (not modified).
    	ifNoneMatchETagHeader := r.Header.Get(xhttp.AmzCopySourceIfNoneMatch)
    	if ifNoneMatchETagHeader != "" {
    		if isETagEqual(objInfo.ETag, ifNoneMatchETagHeader) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. fastapi/utils.py

            "2XX",
            "3XX",
            "4XX",
            "5XX",
        }:
            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> Set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    def create_response_field(
        name: str,
        type_: Type[Any],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-status-code.md

    * **`300`** und darüber steht für „Redirection“ („Umleitung“).  Responses mit diesen Statuscodes können einen oder keinen Body haben, mit Ausnahme von `304`, „Not Modified“ („Nicht verändert“), welche keinen haben darf.
    * **`400`** und darüber stehen für „Client error“-Responses („Client-Fehler“). Auch diese verwenden Sie am häufigsten.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:32:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/response-status-code.md

    * **`200`** 及以上的状态码用于表示**成功**。这些状态码是最常用的
        * `200` 是默认状态代码,表示一切**正常**
        * `201` 表示**已创建**,通常在数据库中创建新记录后使用
        * `204` 是一种特殊的例子,表示**无内容**。该响应在没有为客户端返回内容时使用,因此,该响应不能包含响应体
    * **`300`** 及以上的状态码用于**重定向**。具有这些状态码的响应不一定包含响应体,但 `304`**未修改**是个例外,该响应不得包含响应体
    * **`400`** 及以上的状态码用于表示**客户端错误**。这些可能是第二常用的类型
        * `404`,用于**未找到**响应
        * 对于来自客户端的一般错误,可以只使用 `400`
    * `500` 及以上的状态码用于表示服务器端错误。几乎永远不会直接使用这些状态码。应用代码或服务器出现问题时,会自动返回这些状态代码
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:40:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. cmd/apierrorcode_string.go

    	_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-302]
    	_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-303]
    	_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-304]
    	_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-305]
    	_ = x[ErrEvaluatorBindingDoesNotExist-306]
    	_ = x[ErrMissingHeaders-307]
    	_ = x[ErrInvalidColumnIndex-308]
    	_ = x[ErrAdminConfigNotificationTargetsFailed-309]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertCached(false, 207)
        assertCached(true, 300)
        assertCached(true, 301)
        assertCached(true, 302)
        assertCached(false, 303)
        assertCached(false, 304)
        assertCached(false, 305)
        assertCached(false, 306)
        assertCached(true, 307)
        assertCached(true, 308)
        assertCached(false, 400)
        assertCached(false, 401)
        assertCached(false, 402)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)
    
        // Check the network response. It has the caller's request, plus some caching headers.
        cacheHit.networkResponse()
          .assertCode(304)
          .assertHeader("Donut", "b")
          .assertRequestHeader("Accept-Language", "en-US")
          .assertRequestHeader("Accept-Charset", "UTF-8")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    - Fixes stuck apiserver if an aggregated apiservice returned 304 Not Modified for aggregated discovery information ([#114459](https://github.com/kubernetes/kubernetes/pull/114459), [@alexzielenski](https://github.com/alexzielenski)) [SIG API Machinery]
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Mar 14 16:24:51 GMT 2024
    - 425.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    - Fixed stuck apiserver if an aggregated apiservice returned `304 Not Modified` for aggregated discovery information ([#114459](https://github.com/kubernetes/kubernetes/pull/114459), [@alexzielenski](https://github.com/alexzielenski))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 15:20:21 GMT 2024
    - 434.3K bytes
    - Viewed (3)
  10. docs/en/docs/release-notes.md

    * 🐛 Fix removing body from status codes that do not support it. PR [#5145](https://github.com/tiangolo/fastapi/pull/5145) by [@tiangolo](https://github.com/tiangolo).
        * Setting `status_code` to `204`, `304`, or any code below `200` (1xx) will remove the body from the response.
        * This fixes an error in Uvicorn that otherwise would be thrown: `RuntimeError: Response content longer than Content-Length`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top