diff options
Diffstat (limited to 'test/w3c/lua/test520.scxml')
-rw-r--r-- | test/w3c/lua/test520.scxml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/w3c/lua/test520.scxml b/test/w3c/lua/test520.scxml index 2e2e356..6e8cf7c 100644 --- a/test/w3c/lua/test520.scxml +++ b/test/w3c/lua/test520.scxml @@ -4,14 +4,14 @@ <state id="s0"> <onentry> <send event="timeout" delay="30s"/> - <send type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" targetexpr="FIXME"> + <send type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" targetexpr="_ioprocessors.basichttp.location"> <content>this is some content</content> </send> </onentry> <!-- if other end sends us back this event, we succeed. Test for two common ways of encoding --> - <transition event="HTTP.POST" cond="_event.httpresponse=='this+is+some+content'" target="pass"/> - <transition event="HTTP.POST" cond="_event.httpresponse=='this%20is%20some%20content'" target="pass"/> + <transition event="HTTP.POST" cond="_event.raw=='this+is+some+content'" target="pass"/> + <transition event="HTTP.POST" cond="_event.raw=='this%20is%20some%20content'" target="pass"/> <transition event="*" target="fail"/> </state> <final id="pass"/> |