[Yum-devel] HTTP Post?

Michael Stenner mstenner at linux.duke.edu
Sat Oct 22 22:15:16 UTC 2005


On Wed, Oct 19, 2005 at 09:39:39AM -0500, Todd Gruben wrote:
> Anyone have an example of how to do a post?

Up until recently, you could not easily do an http post with
urlgrabber.  As of today, you can.  I've just released 2.9.7 with a
whole bunch of new features.  These include:

  * HTTP POST (via the 'data' kwarg)
  * better logging which can be enabled via an environment variable
  * added interrupt_callback for handling KeyboardInterrupt (Menno had
    some great ideas there)
  * now handling HTTPError separately, with the returned URLGrabError
    (errno 14) containing .code and .exception attributes.  This
    allows better custom handling of HTTP codes.

I have more still on the list of things to do, of course, but these
things are pretty cool.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G



More information about the Yum-devel mailing list