View Source MimeSniff.Guards (mime_sniff v0.1.1)
Guards in this module were implemented as defined in terminlogy
Link to this section Summary
Functions
A gaurd that returns true if term is a binary data byte; otherwise returns false.
A gaurd that returns true if term is a tag-terminating byte; otherwise returns false.
A gaurd that returns true if term is a whitespace byte; otherwise returns false.
Link to this section Functions
A gaurd that returns true if term is a binary data byte; otherwise returns false.
A binary data byte is a byte in the range 0x00 to 0x08 (NUL to BS), the byte 0x0B (VT), a byte in the range 0x0E to 0x1A (SO to SUB), or a byte in the range 0x1C to 0x1F (FS to US).
A gaurd that returns true if term is a tag-terminating byte; otherwise returns false.
A tag-terminating byte is any one of the following bytes: 0x20 (SP), 0x3E (">").
A gaurd that returns true if term is a whitespace byte; otherwise returns false.
A whitespace byte is any one of the following bytes: 0x09 (HT), 0x0A (LF), 0x0C (FF), 0x0D (CR), 0x20 (SP).