Merge branch 'v1.3-dev' as v1.3.11
[websub-hub] / src / enum.js
index 8752bfbcc022c60dc5e2013665021b4e3ccde8d6..0b4978d3a329df5aac3cb2ca7db2f5ce874763a1 100644 (file)
@@ -15,10 +15,12 @@ const Enum = common.mergeDeep(DingusEnum, {
   
   Header: {
     Authorization: 'Authorization',
+    Cookie: 'Cookie',
     From: 'From',
     LastSeen: 'Last-Seen',
     Link: 'Link',
     Location: 'Location',
+    SetCookie: 'Set-Cookie',
     Signature: 'Signature',
     UserAgent: 'User-Agent',
     WWWAuthenticate: 'WWW-Authenticate',
@@ -27,12 +29,23 @@ const Enum = common.mergeDeep(DingusEnum, {
 
   ContentType: {
     ApplicationAtom: 'application/atom+xml',
+    ApplicationOctetStream: 'application/octet-stream',
     ApplicationRDF: 'application/rdf+xml',
     ApplicationRSS: 'application/rss+xml',
     ApplicationXML: 'application/xml',
     ImageSVG: 'image/svg+xml',
     TextXML: 'text/xml',
   },
+
+  Message : {
+    BeginningOfTime: 'Beginning of Time',
+    EndOfTime: 'End of Time',
+    Never: 'Never',
+    NextPublish: 'Next Publish',
+    NoSuchTopicId: 'no such topic id',
+    Pending: 'Pending',
+    Unknown: 'Unknown',
+  },
 });
 
 module.exports = common.freezeDeep(Enum);
\ No newline at end of file