wmo-im / wis2-notification-message

WIS 2.0 MQP message to notify users of availability of new data
https://wmo-im.github.io/wis2-notification-message
2 stars 2 forks source link

clarify properties.content #29

Closed tomkralidis closed 1 year ago

tomkralidis commented 1 year ago

(carryon from #26 from @antje-s)

7.1.7.5. Content Perhaps adding something like: "The inline content filed is useful for warnings to avoid the extra step of downloading. But also for warnings the maximum size must not be exceeded" Splitting of "A WNM SHOULD provide a content property, consisting of an encoding property (fixed to either utf-8 or base64), a value property (of less than 2048 bytes) of the data, as well as a size property with the length of the data." --> to perhaps A - "A WNM SHOULD provide a content property, consisting of an encoding property, a value property, and a size property" B - "The content encoding property is fixed to either utf-8 or base64" C - "The size of the content value SHALL be of less than 2048 bytes"

cc @kaiwirt @josusky @golfvert

josusky commented 1 year ago

We have lost somewhere gzip. It is also an allowed encoding and it can significantly help to fit CAP and other XML-based messages into the 2048 bytes limit.

tomkralidis commented 1 year ago

@josusky gzip is an acceptable encoding (along with base64 and utf-8).

amilan17 commented 1 year ago

Is this related to #39

tomkralidis commented 1 year ago

Closing this one given gzip is back in the specification.