Annotation of parser3/tests/464.html, revision 1.1
1.1 ! moko 1: # ^response:send[]: the headers go with the first part, the result of @main is not sent
! 2: @main[]
! 3: not sent
! 4: $response:x-test[sent with the first part]
! 5: # a part is checked before the headers are sent
! 6: ^try{ ^response:send(true) }{ $exception.handled(true) $response:x-bool[$exception.comment] }
! 7: ^try{ ^response:send[^file::stat[464.html]] }{ $exception.handled(true) $response:x-stat[$exception.comment] }
! 8: ^response:send[1. string, untainted: ^taint[<b>]
! 9: ]
! 10: not sent either
! 11: ^response:send[^file::create[text;part.txt;2. file
! 12: ]]
! 13: $response:x-late[too late, not sent]
! 14: ^response:send[3. number and void: |]
! 15: ^response:send(3)
! 16: ^response:send[$void]
! 17: ^response:send[|
! 18: ]
! 19: ^check{^response:send[$.a[1]]}
! 20: ^check{^response:send[^table::create{a}]}
! 21: ^check{^response:send{code}}
! 22: ^response:send[5. the last part
! 23: ]
! 24:
! 25: @check[code]
! 26: ^try{$code}{ $exception.handled(true) ^response:send[4. $exception.comment^#0A] }
! 27:
! 28: @postprocess[body]
! 29: ^response:send[not sent: @postprocess is not called]
E-mail: