Thanks, this was perfect, as usual. Someone clone Russ please :>


btw. I've done a little HTTP testing suite (nothing amazing) & popped it in sources
I did it in a hurry & didn't package it up

/n/sources/contrib/maht/{httplib.rc tlspipeclient.c dechunk.c getuserpasswd.c}

. httplib.rc

GET https://www.rangboom.com/

GET http://slashdot.org/ | dechunk


you choose to include dechunk in your pipeline if you need it (though it is idempotent on non-chunked data (modulo speed) getuserpasswd isn't used by httplib.rc but is handy for getting passwords from factoum

it uses tee for logging to testlog in the current dir so watch out for that :)

matt


make a script, called mkrules:

        #!/bin/rc
        for(i in src/*.html)
                cpp -M $i | sed 's;^src;public; s;\$O:;:;'

include its output:

        <|mkrules

russ





Reply via email to