Hi, Smells like a bug to me. To help us track it down, could you please rebuild snap-core with "-fdebug", rebuild snap-server and your app, and run your app with "DEBUG=1" set in the environment? It would be useful to see the debugging output.
Thanks, G On Tue, Mar 15, 2011 at 10:40 PM, tsuraan <[email protected]> wrote: >> I'm having trouble getting any sort of response from Snap when I POST >> data. Everything works in the handler, but the application never >> writes any data to the socket. This can be seen by creating a new >> empty project with snap init, and running the resulting program. A >> terminal session follows: > > I'm not sure if this is a bug or not, but it seems to be caused by the > fact that I didn't give curl any post data to send to snap. If I just > do "curl -XPOST --data 'a=b' http://...", then my snap program does > respond. So, maybe it's a bug, or maybe empty posts just aren't a > very smart thing to do. > _______________________________________________ > Snap mailing list > [email protected] > http://mailman-mail5.webfaction.com/listinfo/snap > -- Gregory Collins <[email protected]> _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
