- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isWS (0.18 sec)
-
src/net/http/sniff.go
// Index of the first non-whitespace byte in data. firstNonWS := 0 for ; firstNonWS < len(data) && isWS(data[firstNonWS]); firstNonWS++ { } for _, sig := range sniffSignatures { if ct := sig.match(data, firstNonWS); ct != "" { return ct } } return "application/octet-stream" // fallback } // isWS reports whether the provided byte is a whitespace byte (0xWS)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 21:51:06 UTC 2022 - 7.9K bytes - Viewed (0)