Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectsContinue (0.24 sec)

  1. src/net/http/server.go

    				const publicErr = "400 Bad Request"
    				fmt.Fprintf(c.rwc, "HTTP/1.1 "+publicErr+errorHeaders+publicErr)
    				return
    			}
    		}
    
    		// Expect 100 Continue support
    		req := w.req
    		if req.expectsContinue() {
    			if req.ProtoAtLeast(1, 1) && req.ContentLength != 0 {
    				// Wrap the Body reader with one that replies on the connection
    				req.Body = &expectContinueReader{readCloser: req.Body, resp: w}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top