I just published on Google Code a small software project I wrote about one year ago but that I just rediscovered on my hard drive a few weeks ago: curlIE. This is an implementation of a subset of cURL, the command line tool for transferring files with URL syntax, in JScript in the Windows Script Host environment using the XMLHttpRequest object. This is the first piece of code since I write JavaScript/WSH code (more than 10 years now) that I found good enough to be worth publishing. There is probably more to dig in my hard disk...

As you can see in the source, the code that deals with HTTP is very small as everything is delegated to the XMLHttpRequest object. In fact, half of the lines are a generic command line parser that implements the classic UNIX-style argument parsing with short and long options to match cURL. Just the few major options are currently implemented. I will add others if I get incoming feature requests...