Tried again with v5.3.1 without success.
On Mon, Dec 3, 2012 at 3:22 PM, J G Cho <[email protected]> wrote: > Thanks. Will upgrade. > > On Mon, Dec 3, 2012 at 3:14 PM, Jay McCarthy <[email protected]> wrote: >> Yes, this was fixed very recently. >> >> Jay >> >> On Mon, Dec 3, 2012 at 1:14 PM, J G Cho <[email protected]> wrote: >>> 5.3 Is it too old? >>> >>> On Mon, Dec 3, 2012 at 2:34 PM, Jay McCarthy <[email protected]> wrote: >>>> What version of Racket are you using? >>>> >>>> In particular, you should read the documentation for request-bindings. >>>> In the past, it only read GET queries, but then it started to read >>>> POST queries too. >>>> >>>> If you are on 5.3.1, then it is an error with that change and you >>>> should let me know (perhaps with a PR) so I can fix it. >>>> >>>> Jay >>>> >>>> On Mon, Dec 3, 2012 at 9:50 AM, J G Cho <[email protected]> wrote: >>>>> (define bs (request-bindings req)) >>>>> ... >>>>> [(exists-binding? 'stat bs) >>>>> (handle-post-stat (extract-binding/single 'stat bs))] >>>>> >>>>> The above cond clause evaluates when Browser invokes >>>>> >>>>> $.ajax({ >>>>> type: "GET", >>>>> url: "/abc/xyz", >>>>> data: {stat: JSON.stringify( data )}, >>>>> >>>>> But not when POST is used. Why would this be the case? >>>>> >>>>> Curiously, >>>>> >>>>> jGc >>>>> ____________________ >>>>> Racket Users list: >>>>> http://lists.racket-lang.org/users >>>> >>>> >>>> >>>> -- >>>> Jay McCarthy <[email protected]> >>>> Assistant Professor / Brigham Young University >>>> http://faculty.cs.byu.edu/~jay >>>> >>>> "The glory of God is Intelligence" - D&C 93 >> >> >> >> -- >> Jay McCarthy <[email protected]> >> Assistant Professor / Brigham Young University >> http://faculty.cs.byu.edu/~jay >> >> "The glory of God is Intelligence" - D&C 93 ____________________ Racket Users list: http://lists.racket-lang.org/users

