Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PunycodeHostPort (0.12 sec)

  1. src/net/http/request.go

    	// Clean the host, in case it arrives with unexpected stuff in it.
    	host := r.Host
    	if host == "" {
    		if r.URL == nil {
    			return errMissingHost
    		}
    		host = r.URL.Host
    	}
    	host, err = httpguts.PunycodeHostPort(host)
    	if err != nil {
    		return err
    	}
    	// Validate that the Host header is a valid header in general,
    	// but don't validate the host itself. This is sufficient to avoid
    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