Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nosniff (0.08 sec)

  1. cmd/generic-handlers.go

    		header := w.Header()
    		header.Set("X-XSS-Protection", "1; mode=block")                                // Prevents against XSS attacks
    		header.Set("X-Content-Type-Options", "nosniff")                                // Prevent mime-sniff
    		header.Set("Strict-Transport-Security", "max-age=31536000; includeSubDomains") // HSTS mitigates variants of MITM attacks
    
    		// Previously, this value was set right before a response was sent to
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			// not get all the errors we expected.
    			completed = true
    
    		case "not-declared":
    			sniff[i] |= notDeclared
    		case "not-type":
    			sniff[i] |= notType
    		case "not-int-const":
    			sniff[i] |= notIntConst
    		case "not-num-const":
    			sniff[i] |= notNumConst
    		case "not-str-lit":
    			sniff[i] |= notStrLiteral
    		default:
    			if isError {
    				sawUnmatchedErrors = true
    			}
    			continue
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top