Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,312 for serve (0.17 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    object TlsUtil {
      val password = "password".toCharArray()
    
      private val localhost: HandshakeCertificates by lazy {
        // Generate a self-signed cert for the server to serve and the client to trust.
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("localhost")
            .addSubjectAlternativeName("localhost")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

    import java.util.Date
    import java.util.Locale
    import okhttp3.internal.UTC
    
    /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */
    internal const val MAX_DATE = 253402300799999L
    
    /**
     * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such
     * cookies are on the fast path.
     */
    private val STANDARD_DATE_FORMAT =
      object : ThreadLocal<DateFormat>() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/pt/docs/contributing.md

    Então você poderá "servir" eles com o comando `serve`:
    
    <div class="termy">
    
    ```console
    // Use o comando "serve" após rodar "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  4. docs/em/docs/contributing.md

    ⤴️ ⚫️ 🏗 🌐 👈 🔬 ⬜ 🕸 🔠 🇪🇸, 🌀 👫, &amp; 🏗 🏁 🔢 `./site/`.
    
    ⤴️ 👆 💪 🍦 👈 ⏮️ 📋 `serve`:
    
    <div class="termy">
    
    ```console
    // Use the command "serve" after running "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

      val cacheResponse: Response?,
    ) {
      class Factory(
        private val nowMillis: Long,
        internal val request: Request,
        private val cacheResponse: Response?,
      ) {
        /** The server's time when the cached response was served, if known. */
        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. cmd/crossdomain-xml-handler.go

    		}
    		// Look for 'crossdomain.xml' in the incoming request.
    		if r.URL.Path == crossDomainXMLEntity {
    			// Write the standard cross domain policy xml.
    			w.Write([]byte(cxml))
    			// Request completed, no need to serve to other handlers.
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. cni/pkg/log/uds.go

    			log.Errorf("Error running UDS log server: %v", err)
    		}
    	}()
    
    	go func() {
    		<-stop
    		if err := l.loggingServer.Close(); err != nil {
    			log.Errorf("CNI log server terminated with error: %v", err)
    		} else {
    			log.Debug("CNI log server terminated")
    		}
    	}()
    
    	return nil
    }
    
    func (l *UDSLogger) handleLog(w http.ResponseWriter, req *http.Request) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

            .addTrustedCertificate(heldCertificate.certificate)
            .build()
        }
      private var acceptedHostName: String? = null
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest
      @MethodSource("connectionTypes")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. docs/ja/docs/contributing.md

    次に、言語ごとにこれらすべての個別のMkDocsサイトを構築し、それらを組み合わせて、`./site/`に最終結果を出力します。
    
    これは、コマンド`serve`で提供できます:
    
    <div class="termy">
    
    ```console
    // 「build-all」コマンドの実行の後に、「serve」コマンドを使います
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 16.6K bytes
    - Viewed (0)
Back to top