Hello all,

Sometimes I see in the logs GET requests with body! Seems, certain
browsers consider the url too long and put the parameters of GET
request into body.

11-12 01:00AM 57.065 / 500 47ms 23cpu_ms 0kb Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe)
80.246.254.254 - - [12/Nov/2010:01:00:57 -0800] "GET / HTTP/1.1" 500
425 "http://myapp.appspot.com/?api_url=http://api.vkontakte.ru/
api.php&api_id=99240&api_settings=239&viewer_id=7530073&viewer_type=1&sid=c11325deb7016dad0349569471a43aa63fb0d1984288915ffea6271f3d&secret=729d805171&user_id=3628&group_id=0&is_app_user=1&auth_key=71913aff2f505a26d&language=0&parent_language=0&api_result=
%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A
%3Cresponse%20list%3D%22true%22%3E%0A%20%3Cuser%3E%0A%20%20%3Cuid
%3E7530073%3C%2Fuid%3E%0A%20%20%3Cfirst_name%3E%D0%90%D0%BB%D0%B5%D0%BA
%D1%81%D0%B0%D0%BD%D0%B4%D1%80%3C%2Ffirst_name%3E%0A%20%20%3Clast_name
%3E%D0%9A%D0%BE%D0%B6%D0%B5%D0%B2%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2%3C
%2Flast_name%3E%0A%20%20%3Cphoto%3Ehttp%3A%2F%2Fcs9650.vkontakte.ru
%2Fu7530073%2Fc_18edb437.jpg%3C%2Fphoto%3E%0A%20%20%3Ctimezone%3E3%3C
%2Ftimezone%3E%0A%20%3C%2Fuser%3E%0A%3C%2Fresponse%3E
%0A&lc_name=271aae29&hash=" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; MRA 5.1 (build 02214); .NET CLR 1.1.4322; .NET
CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe)"
"ciliziread.appspot.com" ms=47 cpu_ms=23 api_cpu_ms=0 cpm_usd=0.000839

I am trying to process such requests correctly too.
self.request.method is 'GET' indeed. But self.request.body is empty
and I cant extract the parameters.

Any idea on what could I do to process such requests?
Thanks.

-- 
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to