Re: [wwwsearch-general] python - mechanize/browser/POST issue

2008-09-03 Thread John J Lee
On Tue, 2 Sep 2008, bruce wrote: [...] using mechanize/Browser, i can easily do a url/get, and process submitting a form that uses a GET as the action. however, I'm not quite sure how to implement the submittal of a form, that uses the POST action. [...] Same way as any other form. The HTTP me

Re: python - mechanize/browser/POST issue

2008-09-03 Thread Wojtek Walczak
On Tue, 2 Sep 2008 19:39:05 -0700, bruce wrote: > using mechanize/Browser, i can easily do a url/get, and process submitting a > form that uses a GET as the action. however, I'm not quite sure how to > implement the submittal of a form, that uses the POST action. > > Anyone have a short chunk of c

Re: python - mechanize/browser/POST issue

2008-09-03 Thread Mohamed Yousef
Hello , i don't know about mechanize but in general all you have to do is a simple socket text sending connect to the server then send it POST headers to page in question.. what to send ? getting this your self is much better and one of the best tools is LiveHTTPHeaders - an addon for firefox - s

python - mechanize/browser/POST issue

2008-09-02 Thread bruce
evening... using mechanize/Browser, i can easily do a url/get, and process submitting a form that uses a GET as the action. however, I'm not quite sure how to implement the submittal of a form, that uses the POST action. Anyone have a short chunk of code that I can observer, that uses the mechani