Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 513 for slashes (0.17 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. 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)
  3. 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)
  4. .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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/archive/zip/writer.go

    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    // call to [Writer.Create], [Writer.CreateHeader], or [Writer.Close].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * Both the unnecessary port specification (`:80`) and the absent trailing slash (`/`) cause URI to
     * bucket the two URLs separately. This harms URI's usefulness in collections. Any application that
     * stores information-per-URL will need to either canonicalize manually, or suffer unnecessary
     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
Back to top