Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MethodOptions (0.21 sec)

  1. src/net/http/fs_test.go

    	// For now, test the historical behavior.
    	for _, method := range []string{
    		MethodGet,
    		MethodPost,
    		MethodPut,
    		MethodPatch,
    		MethodDelete,
    		MethodOptions,
    		MethodTrace,
    	} {
    		req.Method = method
    		_, body := getBody(t, method, req, c)
    		if !bytes.Equal(body, file) {
    			t.Fatalf("body mismatch for %v request: got %q, want %q", method, body, file)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top