References: SHIORI/3.0 (external site) SHIORI/2.x (external site)
Implementation support for extended headers is notified early in SHIORI execution through ID: capability.
GET SHIORI/3.0
Charset: UTF-8
Sender: SSP
SenderType: internal,raise
SecurityLevel: local
Status: choosing,balloon(0=0)
ID: OnFirstBoot
BaseID: OnBoot
Reference0: 1
※The line ending is CR+LF.
※The request ends with a blank line (two consecutive CR+LF sequences, including the preceding line's terminator).
Attributes of the event sender. The values are as follows. If there are multiple values, they are comma-separated.
For ID: OnTranslate, the attributes of the event being translated are inherited.
\![embed] tag.\![raise] tag.Security level when executing a script. One of the following.
For ID: OnTranslate, the attributes of the event being translated are inherited.
It is notified as early as possible, and appears at least before the ID header.
An external notification originates outside the machine on which the application is running, so handle it with security in mind.
This is a different concept from SenderType internal/external. An event originating outside the application may be considered safe and therefore classified as local, so SecurityLevel may be local even when SenderType is external.
The ghost's execution state. The values are as follows. If there are multiple values, they are comma-separated.
\![enter,inductionmode]\![enter,passivemode]\t)\![enter,nouserbreak]\0 and a normal balloon for \1.SHIORI/3.0 200 OK
Charset: UTF-8
Sender: AYA
Value: \1\s[10]\0\s[0]\e
※The line ending is CR+LF.
※The response must end with a blank line (two consecutive CR+LF line endings).
As with HTTP, codes in the 200 range indicate success, while all others indicate some kind of failure (error).
The codes primarily used at present are as follows.
[Experimental feature]
An extension for executing Sakura Script even when the request method is NOTIFY.
When Sakura Script is returned in this header, it is executed immediately. For GET, it is executed before the script in the Value header.
The tags that can be executed are extremely limited; all other tags and text are ignored.
Ignored when the method is not NOTIFY or when the Value header is already present. Restriction removed in 2.6.76
The tags that can currently be executed are as follows:
\![sound]\![set,trayicon]\![set,trayballoon]\![raise]\![raiseother]\![raiseplugin]\![timerraiseother]\![timerraiseplugin]\![notify]\![notifyother]\![notifyplugin]\![get,property] +2.6.82\![set,property] +2.6.82One of the following.
The SecurityLevel of the script to speak. When external, some scripts cannot be executed due to security features.
The level of an error that occurred inside SHIORI. One of the following. To represent multiple errors, separate them with byte value 1.
If this header is present, the user is notified that some kind of error has occurred.
The notification level can be changed by the user. Usually, it is error or higher.
In SSP, the error is recorded in the error log, and an error icon appears in the notification area.
\0 side.