On 10/16/2018 4:02 PM, Philippe Mechaï wrote:
Indeed the issue is with your call to pipe-content-length which is to be used with pipes and is not the Content-Length header returned when doing HTTP requests. The Content-Length can be found in the list of headers returned by the call to http-sendrecv (second value or b in your let-values call). You can parse these using the net/head module.
But be aware that you may run into images that do have Content-Length set. Many sites assume images are only for display by the browser.
George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

