4
Problem with writing RESTful Google App Engine Code
Posted in Python at April 12th, 2008 / 4 Comments »
So after I used middleware to make browsers work with RESTful URLs in GAE I started to write more than simple little methods and I’m trying to write a test application. Upon doing so, I ran into a defect with how request parameters are returned for a PUT request To be fair, this is more of a problem with webob than with GAE, but I hope that this gets fixed because my attempts at monkey patching the problem have not worked out too well.
September 27th, 2008 at 9:28 pm #Lailson Bandeira
Hi,
I’m having exactly the same problem now… Did you find any solution for that?
It’s really sad that more than five months later, GAE still has this problem!
Thanks
September 28th, 2008 at 9:28 am #K. Adam Christensen
I was not able to find a good solution for this. I have to agree that this sucks that this is still an issue. There is a patch for this to make it work; however, the “webob ticket”:http://trac.pythonpaste.org/pythonpaste/ticket/255 hasn’t been updated in 5 months and is currently slated for the 1.4.1 release.
Normally, I would just apply this patch myself, but since google is hosting this, I’m at a loss. I do think I will give this another go though to see if I can make some progress.
January 24th, 2009 at 12:30 pm #klnavarro
Lo,
When applying the solution given by Toby (and Arachnid) from following post:
http://stackoverflow.com/questions/255157/how-to-override-http-request-verb-in-gae
the problem was solved.
Brgds.
January 25th, 2009 at 8:52 am #K. Adam Christensen
Thanks for that update.