Why can't you transport large amount of data as a _response_ to a GET query? You gave an example of a search query, and I don't see any reason why someone'd want to cram a whole book into a search query.
On Sun, Oct 17, 2010 at 10:56 AM, sibande <[email protected]> wrote: > I'm currently doing what your suggesting and doing so does not feel > right. I'm making a dictionary/language translation site (sorry for > not making this clear earlier) and I think it's important for the site > to have the GET keywords (which can sometimes be modified) and also > transfer large data via a POST request. > The report part about double printing of "both" and "POST" can be > ignored, I made a mistake and have now figured that's caused by a > web.input() call made above the rawinput('POST'). > > On Oct 17, 12:25 am, Branko Vukelic <[email protected]> wrote: >> On Sat, Oct 16, 2010 at 10:34 PM, sibande <[email protected]> wrote: >> > I have a keyword that is available both on GET and on POST (/search? >> > word=webpy and post data word=python). >> >> That sounds like bad design. Why would you use both GET and POST for >> the same thing? If it's a search, it'd be more logical to stick to GET >> and enforce that by raising badrequest on POST. >> >> -- >> Branko Vukelić >> >> [email protected] >> [email protected] >> >> Check out my blog:http://www.brankovukelic.com/ >> Check out my portfolio:http://www.flickr.com/photos/foxbunny/ >> Registered Linux user #438078 (http://counter.li.org/) >> I hang out on identi.ca:http://identi.ca/foxbunny >> >> Gimp Brushmakers Guildhttp://bit.ly/gbg-group > > -- > You received this message because you are subscribed to the Google Groups > "web.py" 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/webpy?hl=en. > > -- Branko Vukelić [email protected] [email protected] Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
