szbalint / WWW--Curl

Perl binding for libcurl
http://curl.haxx.se
Other
28 stars 19 forks source link

Some extra minor tests #10

Closed ambs closed 9 years ago

ambs commented 9 years ago

Hey

First, expanded tabs to four spaces in the main module. It was using spaces in some places, and tabs in other, so, preferred to keep spaces (four). Any way, we can remove that commit if you like.

Other than that, tested if we can send the curl object to the callback function (yes we can) and if we can obtain the current download speed. Also, tested the content type is available and has a sensible value.

And only now, when writing about the possibility to add a default of sending the curl object in case no progress data is set, I find out that is already implemented. Damn, an easy and interesting patch I could write, and it is not needed :smile:

szbalint commented 9 years ago

Thanks for the tests Alberto!

I might do a new release soon, integrating these changes.