Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for redirectToPathSlash (0.32 sec)

  1. src/net/http/servemux121.go

    		}
    	}
    	return nil, ""
    }
    
    // redirectToPathSlash determines if the given path needs appending "/" to it.
    // This occurs when a handler for path + "/" was already registered, but
    // not for path itself. If the path needs appending to, it creates a new
    // URL, setting the path to u.Path + "/" and returning true to indicate so.
    func (mux *serveMux121) redirectToPathSlash(host, path string, u *url.URL) (*url.URL, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top