Clojure Immutant 2 server Undertow; how to handle http POST?

守給你的承諾、 提交于 2019-12-06 06:01:30

I don't think this is necessarily a problem with Immutant handling a POST. The problem occurs during the dispatch to the IPN handler, which is attempting to invoke reset on Undertow's InputStream. I would expect the stream's markSupported method to return false. It's not clear to me why reset is being called here, since it doesn't appear mark is ever called. Without being familiar with that library, I might suggest buffering the input somehow... maybe invoke parse-paypal-ipn-string directly? I'm really just guessing, though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!