aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-12-28 15:43:10 +0100
committerLoïc Hoguin <[email protected]>2014-12-28 15:43:10 +0100
commitc85ef5cf4f4aca5ea3d32261f53501097374755c (patch)
tree1417c36f81eec7459da950e43271ecf011426c1c /include
parent3953fe4182af5e36542c6105d3ae74736699828c (diff)
downloadcowlib-c85ef5cf4f4aca5ea3d32261f53501097374755c.tar.gz
cowlib-c85ef5cf4f4aca5ea3d32261f53501097374755c.tar.bz2
cowlib-c85ef5cf4f4aca5ea3d32261f53501097374755c.zip
Add cow_http_hd:parse_content_range/1
From RFC7233.
Diffstat (limited to 'include')
-rw-r--r--include/cow_inline.hrl4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cow_inline.hrl b/include/cow_inline.hrl
index 0c0caf9..649ff79 100644
--- a/include/cow_inline.hrl
+++ b/include/cow_inline.hrl
@@ -32,6 +32,10 @@
C =:= $Z
).
+%% IS_CHAR(Character)
+
+-define(IS_CHAR(C), C > 0, C < 128).
+
%% IS_DIGIT(Character)
-define(IS_DIGIT(C),