Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimOWS (0.07 sec)

  1. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    }
    
    // isOWS reports whether b is an optional whitespace byte, as defined
    // by RFC 7230 section 3.2.3.
    func isOWS(b byte) bool { return b == ' ' || b == '\t' }
    
    // trimOWS returns x with all optional whitespace removes from the
    // beginning and end.
    func trimOWS(x string) string {
    	// TODO: consider using strings.Trim(x, " \t") instead,
    	// if and when it's fast enough. See issue 10292.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top