Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 531 for custom (0.05 sec)

  1. internal/http/dial_dnscache.go

    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    {!> ../../docs_src/dependencies/tutorial008b.py!}
    ```
    
    ////
    
    An alternative you could use to catch exceptions (and possibly also raise another `HTTPException`) is to create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    ## Dependencies with `yield` and `except`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. .github/workflows/codeql-analysis.yml

    # For most projects, this workflow file will not need changing; you simply need
    # to commit it to your repository.
    #
    # You may wish to alter this file to override the set of languages analyzed,
    # or to provide custom queries or build logic.
    name: "CodeQL"
    
    on:
      push:
        branches:
        - master
        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
      schedule:
        - cron: '0 0 * * 4'
    
    jobs:
      analyze:
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Dec 23 10:29:00 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/_aws/fess.json

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 23 12:38:28 UTC 2021
    - 117.3K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/_cloud/fess.json

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Feb 27 09:26:16 UTC 2021
    - 117.3K bytes
    - Viewed (0)
  6. helm/minio/templates/post-job.yaml

              {{- if .Values.customCommandJob.exitCommand }}
              command: [ "/bin/sh", "-c" ]
              args: [ "/bin/sh /config/custom-command; EV=$?; {{ .Values.customCommandJob.exitCommand }} && exit $EV" ]
              {{- else }}
              command: [ "/bin/sh", "/config/custom-command" ]
              {{- end }}
              env:
                - name: MINIO_ENDPOINT
                  value: {{ template "minio.fullname" . }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

    }
    
    // APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery.
    // This is one of the types able to be returned from the /api and /apis endpoint and contains an aggregated
    // list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers)
    // that a cluster supports.
    message APIGroupDiscoveryList {
      // ResourceVersion will not be set, because this does not have a replayable ordering among multiple apiservers.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. tests/test_starlette_exception.py

    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "Some custom header"},
            )
        return {"item": items[item_id]}
    
    
    @app.get("/http-no-body-statuscode-exception")
    async def no_body_status_code_exception():
        raise HTTPException(status_code=204)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                }
            }
    
            return bean;
        }
    
        /**
         * Parses an XML element looking for the name of a custom implementation.
         *
         * @param parser The XML parser
         * @return Name of the custom implementation; otherwise {@code null}
         */
        private static String parseImplementation(final XmlPullParser parser) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top