-- を應答に反映させる餘地がある。さうでなければ stderr
-- にでも吐くしか無い。
state <- atomically $ readItr itr itrState id
- resM <- atomically $ readItr itr itrResponse id
+ res <- atomically $ readItr itr itrResponse id
if state <= DecidingHeader then
flip runReaderT itr
$ do setStatus $ aboStatus abo
-- FIXME: 同じ名前で複數の値があった時は、こ
-- れではまずいと思ふ。
mapM_ (\ (name, value) -> setHeader name value) $ aboHeaders abo
- setContentType ("application" </> "xhtml+xml")
- output $ abortPage conf reqM resM abo
+ output $ abortPage conf reqM res abo
else
hPutStrLn stderr $ show abo