This seems to work for displaying a live Picasa web albums on my page: def renderhtml(request): req=urlfetch.fetch('http://www.picasaweb.google.com') response= HttpResponse() response.write(req.content) return response
Thank you Alexander! On Sep 20, 9:32 pm, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > I just tried this inhttp://shell.appspot.com/: > > >>> from google.appengine.api import urlfetch > >>> r = urlfetch.fetch('http://www.muspy.com') > >>> print r.content > > <?xml version="1.0" encoding="utf-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > .... > .... > > As you can see, no headers are present in the content. Which URL are > you fetching? > > On Sep 21, 9:43 am, uo <[EMAIL PROTECTED]> wrote: > > > how can i remove the status info ie > > > Status: 200 OK > > Last-Modified: Sat, 20 Sep 2008 03:47:52 GMT > > ETag: e608d454f548741614b550558645b689 > > Content-Type: text/html; charset=utf-8 > > Expires: Sat, 20 Sep 2008 03:47:51 GMT > > Cache-Control: max-age=0 > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <html><head> > > > from my response object after doing a > > urlfetch.fetch(url).content ??????? > > pliz help..anyone --~--~---------~--~----~------------~-------~--~----~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---