Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 9,438 for hTTP (0.02 seconds)

  1. docs/zh/docs/how-to/custom-docs-ui-assets.md

    ///
    
    ### 创建一个路径操作进行测试 { #create-a-path-operation-to-test-it }
    
    现在,为了测试一切是否正常,创建一个*路径操作*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[36:38] *}
    
    ### 测试 { #test-it }
    
    现在,你应该可以访问 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs),并刷新页面,页面会从新的 CDN 加载这些资源。
    
    ## 为文档自托管 JavaScript 和 CSS { #self-hosting-javascript-and-css-for-docs }
    
    如果你需要在离线、无法访问互联网或仅在局域网内时,应用仍能工作,那么自托管 JavaScript 和 CSS 会很有用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. docs_src/handling_errors/tutorial006_py310.py

    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  3. internal/http/dial_dnscache.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/simple-oauth2.md

    为此,要再创建一个依赖项 `get_current_active_user`,此依赖项以 `get_current_user` 依赖项为基础。
    
    如果用户不存在,或状态为未激活,这两个依赖项都会返回 HTTP 错误。
    
    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 信息
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401“UNAUTHORIZED”HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/subpackage/ClassInSubPackage.java

     * Copyright (C) 2012 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 30 16:42:50 GMT 2012
    - 683 bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/guide/PostExample.java

     * Copyright (C) 2013 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. internal/http/check_port_others.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  8. src/main/assemblies/files/fess.in.sh

    fi
    if [ "x$FESS_PROXY_PORT" != "x" ]; then
      FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.proxyPort=$FESS_PROXY_PORT"
      FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttps.proxyPort=$FESS_PROXY_PORT"
    fi
    # http.nonProxyHosts applies to both HTTP and HTTPS connections.
    # There is no https.nonProxyHosts property in Java.
    if [ "x$FESS_NON_PROXY_HOSTS" != "x" ]; then
      FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.nonProxyHosts=$FESS_NON_PROXY_HOSTS"
    fi
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ### Check the docs { #check-the-docs }
    
    Now you can start your app and go to [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    You will see your docs including a "Callbacks" section for your *path operation* that shows how the *external API* should look like:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

                @Override
                protected String getUserCodeFromRequest(final jakarta.servlet.http.HttpServletRequest request) {
                    return null;
                }
    
                @Override
                protected String getUserCodeFromCookie(final jakarta.servlet.http.HttpServletRequest request) {
                    return "12345abcde12345ABCDE";
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top