mirror of
https://github.com/mjl-/mox.git
synced 2025-07-16 07:14:40 +03:00
message: when parsing a message, don't treat absent header and empty header value the same
We now use "*string" for such header fields, for Content-* fields, as used in the imapserver when responding to FETCH commands. We'll now return NIL for an absent header, and "" (empty string) if the header value is empty.
This commit is contained in:
@ -1151,6 +1151,7 @@
|
||||
"Name": "ContentID",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1158,6 +1159,7 @@
|
||||
"Name": "ContentDescription",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1165,6 +1167,7 @@
|
||||
"Name": "ContentTransferEncoding",
|
||||
"Docs": "In upper case.",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1172,6 +1175,7 @@
|
||||
"Name": "ContentDisposition",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1179,6 +1183,7 @@
|
||||
"Name": "ContentMD5",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1186,6 +1191,7 @@
|
||||
"Name": "ContentLanguage",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
@ -1193,6 +1199,7 @@
|
||||
"Name": "ContentLocation",
|
||||
"Docs": "",
|
||||
"Typewords": [
|
||||
"nullable",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user