Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for WriteHeaders (1.09 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

           *
           * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-6.2.3
           */
          @Throws(IOException::class)
          fun writeHeaders(headerBlock: List<Header>) {
            if (emitDynamicTableSizeUpdate) {
              if (smallestHeaderTableSizeSetting < maxDynamicTableByteCount) {
                // Multiple dynamic table size updates!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

          assertThat(expected.message).isEqualTo("reserved bit set: -2147483645")
        }
      }
    
      private fun literalHeaders(sentHeaders: List<Header>): Buffer {
        val out = Buffer()
        Hpack.Writer(out = out).writeHeaders(sentHeaders)
        return out
      }
    
      private fun sendHeaderFrames(
        outFinished: Boolean,
        headers: List<Header>,
      ): Buffer {
        val out = Buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    	// to this frame.
    	PadLength uint8
    
    	// Priority, if non-zero, includes stream priority information
    	// in the HEADER frame.
    	Priority http2PriorityParam
    }
    
    // WriteHeaders writes a single HEADERS frame.
    //
    // This is a low-level header writing method. Encoding headers and
    // splitting them into any necessary CONTINUATION frames is handled
    // elsewhere.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Play it back.
        val connection = connect(peer)
        connection.writePingAndAwaitPong()
        val stream = connection.newStream(headerEntries("a", "android"), true)
        // finish the stream
        stream.writeHeaders(headerEntries("b", "berserk"), true, false)
        assertFailsWith<IllegalStateException> {
          stream.enqueueTrailers(headersOf("trailers", "boom"))
        }
      }
    
      @Test fun noTrailersFrameYieldsEmptyTrailers() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return new HighlightInfo();
            }
        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			}
    
    			okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent ||
    				ci.StatusCode == http.StatusPreconditionFailed || ci.StatusCode == http.StatusNotModified)
    			if okSt {
    				ci.WriteHeaders(w, func() {
    					// set common headers
    					setCommonHeaders(w)
    				}, func() {
    					okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent)
    					if okSt && len(ci.Data) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top