Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for redirectHandler (0.19 sec)

  1. pkg/probe/http/http_test.go

    		},
    		{
    			handler: redirectHandler(http.StatusMovedPermanently, false), // 301
    			health:  probe.Success,
    		},
    		{
    			handler: redirectHandler(http.StatusMovedPermanently, true), // 301
    			health:  probe.Failure,
    		},
    		{
    			handler: redirectHandler(http.StatusFound, false), // 302
    			health:  probe.Success,
    		},
    		{
    			handler: redirectHandler(http.StatusFound, true), // 302
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:40:08 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top