Hello,
I modified net.aserve.client:do-http-request to take
an extra &key parameter: skip-http-body. This should
be a function taking a client-request as argument.
When this function returns true, retrieving the rest
of the page is aborted.
I use it to check the content-type of the page and
abort if the content in incompatible with my code,
like movie-streams and the like.
Here is the function. I modified the one in aserve-
1.2.7. The differences are marked @@leon@@.
Could this be merged in the sources?
Leon.
patch for client.cl