Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldSendChunkedRequestBody (0.25 sec)

  1. src/net/http/request.go

    // method is one that typically does not involve a request body.
    // This is used by the Transport (via
    // transferWriter.shouldSendChunkedRequestBody) to determine whether
    // we try to test-read a byte from a non-nil Request.Body when
    // Request.outgoingLength() returns -1. See the comments in
    // shouldSendChunkedRequestBody.
    func requestMethodUsuallyLacksBody(method string) bool {
    	switch method {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top