Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleInternalRedirect (0.18 sec)

  1. src/net/http/cgi/host.go

    		h.printf("cgi: no headers")
    		return
    	}
    
    	if loc := headers.Get("Location"); loc != "" {
    		if strings.HasPrefix(loc, "/") && h.PathLocationHandler != nil {
    			h.handleInternalRedirect(rw, req, loc)
    			return
    		}
    		if statusCode == 0 {
    			statusCode = http.StatusFound
    		}
    	}
    
    	if statusCode == 0 && headers.Get("Content-Type") == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top