This looks good.
Do you mind adding a retry that uses the -H option if the first request fails?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116463#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...