Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 653 for slashes (0.15 sec)

  1. tests/test_router_redirect_slashes.py

        assert response.status_code == 307
    
    
    def test_redirect_slashes_disabled():
        app = FastAPI(redirect_slashes=False)
        router = APIRouter()
    
        @router.get("/hello/")
        def hello_page() -> str:
            return "Hello, World!"
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/hello/", follow_redirects=False)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 10:37:50 GMT 2023
    - 974 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
       * considered by the specification to be separators between "path segments." This implies that, if
       * you wish for your path to contain slashes, you must escape each segment separately and then
       * join them.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    type FileHeader struct {
    	// Name is the name of the file.
    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // verb=attest.
      //
      // If signerName is not empty, then the ClusterTrustBundle object must be
      // named with the signer name as a prefix (translating slashes to colons).
      // For example, for the signer name `example.com/foo`, valid
      // ClusterTrustBundle object names include `example.com:foo:abc` and
      // `example.com:foo:v1`.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byCodeowner/ignore/index.js

            //   fatal for JavaScript regular expression, so eliminate it.
            : EMPTY
    )
    
    // See fixtures #59
    const cleanRangeBackSlash = slashes => {
        const {length} = slashes
        return slashes.slice(0, length - length % 2)
    }
    
    // > If the pattern ends with a slash,
    // > it is removed for the purpose of the following description,
    // > but it would only find a match with a directory.
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/testdata/configdump.yaml

                  "@type": "type.googleapis.com/envoy.extensions.request_id.uuid.v3.UuidRequestIdConfig",
                  "use_request_id_for_trace_sampling": true
                 }
                },
                "path_with_escaped_slashes_action": "KEEP_UNCHANGED"
               }
              }
             ]
            }
           ],
           "listener_filters": [
            {
             "name": "envoy.filters.listener.tls_inspector",
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  7. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // Add a string with zero slashes: resulting URL gains zero slashes.
        assertThat(base.newBuilder().addPathSegments("").build().encodedPath)
          .isEqualTo("/a/b/c/")
        assertThat(base.newBuilder().addPathSegments("d").build().encodedPath)
          .isEqualTo("/a/b/c/d")
    
        // Add a string with one slash: resulting URL gains one slash.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

            /* Samba has a tendency to return referral paths and pathConsumed values
             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/testdata/config_dump.json

                                "use_request_id_for_trace_sampling": true
                              }
                            },
                            "path_with_escaped_slashes_action": "KEEP_UNCHANGED"
                          }
                        }
                      ],
                      "name": "inbound-vip|8000||httpbin.default.svc.cluster.local-http"
                    },
                    {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 54.8K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/io/Files.java

       *
       * <ul>
       *   <li>empty string becomes .
       *   <li>. stays as .
       *   <li>fold out ./
       *   <li>fold out ../ when possible
       *   <li>collapse multiple slashes
       *   <li>delete trailing slashes (unless the path is just "/")
       * </ul>
       *
       * <p>These heuristics do not always match the behavior of the filesystem. In particular, consider
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top