On Tue, Dec 1, 2009 at 9:23 AM, phoebebright <[email protected]>wrote:
> result = urlfetch.fetch(url=url,
payload=postdata,
> method=urlfetch.POST,
> headers={'Content-Type': 'application/x-
> www-form-urlencoded'})
>
> root_wavelet.CreateBlip().GetDocument().SetText(result.content)
>
It's not clear what the problem is from the information you've provided.
You've stated that the internal request did not arrive at your back-end
server, yet result.content here contained information suggesting the
response was a 500 error. Either the request is arriving at a server other
than the one you think it has, or the 500 error is synthesized internally in
response to some internal error condition.
1. What is the value of result.status_code here?
2. Maybe log response.final_url and response.headers also?
3. Do the debug logs contain any information about this request? (I would
expect an internally-generated 500 error response to be accompanied by
something in the log.)
4. What happens if you change the URL to some other site that is known to
work?
David
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.