[google-appengine] Re: Upload Post image app engine

2008-09-05 Thread Wooble
I'd guess your client script is making a malformed HTTP request and the server you're running your PHP script on is more forgiving than the AppSpot one. I'd expect the 400 error to be returned by the server before it even tries to run your python script; it *should* mean that the server has no id

[google-appengine] Re: Upload Post image app engine

2008-09-06 Thread rive
Thanks for your reply, it could make sense. But how it would be possible? I use the AS3 upload methods straight from the Adobe Flash Help Examples... My AS3 client side upload script you can see here http://code.google.com/p/rive/source/browse/trunk/RiveFlex/backend/src/be/rive/FileUploader.as T

[google-appengine] Re: Upload Post image app engine

2008-09-06 Thread baron
Have you tried self.request.body? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send

[google-appengine] Re: Upload Post image app engine

2008-09-06 Thread Davide Rognoni
Post here your main "app.py" file: def main(): application = webapp.WSGIApplication([ ('/', home.handler.Home), ... -- Best Template Engine http://pyoohtml.appspot.com/best-template-engine On Sep 5, 3:23 pm, rive <[EMAIL PROTECTED]> wrote: > I do an multipart post to "http:

[google-appengine] Re: Upload Post image app engine

2008-09-08 Thread rive
Well Davide, this is my main "app.py" I'm using http://code.google.com/p/rive/source/browse/trunk/RivePython/rive/src/server/main.py And this is my upload script (from line 9-19): http://code.google.com/p/rive/source/browse/trunk/RivePython/rive/src/server/services/CountriesService.py Did I do

[google-appengine] Re: Upload Post image app engine

2008-09-09 Thread Davide Rognoni
I see the mapping for ('/', MainPage) but where is the mapping for "CountriesService", for example: ('/countries', CountriesService) and can you use only "get" and "post" in the "CountriesService" handler? . . . . -- Best Template Engine http://pyoohtml.appspot.com/best-template-engine . . . . O

[google-appengine] Re: Upload Post image app engine

2008-09-10 Thread rive
My apologies for that Davide, this is the corrected one http://code.google.com/p/rive/source/browse/trunk/RivePython/rive/src/server/main.py Now I don't get any errors, thanks for helping in that. But that's also it...I don't get any response at all? >From my flash client I do a filereference

[google-appengine] Re: Upload Post image app engine

2008-09-10 Thread Wooble
On Sep 10, 4:29 am, rive <[EMAIL PROTECTED]> wrote: > Now I don't get any errors, thanks for helping in that. But that's > also it...I don't get any response at all? Your script isn't sending any response, it's return()ing a value that will be ignored. To send a response you need to use self.r