Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parsePostForm (0.09 sec)

  1. src/net/http/request.go

    func (l *maxBytesReader) Close() error {
    	return l.r.Close()
    }
    
    func copyValues(dst, src url.Values) {
    	for k, vs := range src {
    		dst[k] = append(dst[k], vs...)
    	}
    }
    
    func parsePostForm(r *Request) (vs url.Values, err error) {
    	if r.Body == nil {
    		err = errors.New("missing form body")
    		return
    	}
    	ct := r.Header.Get("Content-Type")
    	// RFC 7231, section 3.1.1.5 - empty type
    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