如果 <subscription> 资源有更新请求修改eventNotificationCriteria属性 ( enc ) 的某些条件(如createdBefore、createdAfter等),则eventNotificationCriteria属性的所有现有条件都被替换或只是条件请求中的存在被修改了吗?
例如
<subscription> 资源是使用enc属性创建的,如下所示:
"enc": { "crb": "20191130T142810", "cra": "20191129T140000", "net": [ 1, 2, 3, 4, 5 ] }
更新 <subscription> 的enc属性:
"enc": { "ms": "20191129T140000", "us": "20191130T142810", "net": [ 1, 2, 3, 4, 5 ] }
<subscription> 资源中enc的 UPDATE 的可能响应:
回应 1:
"enc": {
"crb": "20191130T142810",
"cra": "20191129T140000",
"ms": "20191129T140000",
"us": "20191130T142810"
"net": [
1,
2,
3,
4,
5
]
}
回应 2:
"enc": {
"ms": "20191129T140000",
"us": "20191130T142810",
"net": [
1,
2,
3,
4,
5
]
}
哪个是正确的,响应 1 或响应 2?