go-rfc2616/sp/rune.go

9 lines
211 B
Go
Raw Normal View History

2023-12-06 15:52:33 +00:00
package sp
// RuneIsSpacing return whether the rune is a 'SP' (spacing) character, as defined by IETF RFC-2616.
//
// SP = <US-ASCII SP, space (32)>
func RuneIsSpacing(value rune) bool {
return ' ' == value
}