I'm using the function below to extract a path from an HTTP request provided by the Racket webserver. What I notice is that on Windows, url->path returns a relative path, and on Unix/Mac, url->path returns a complete path. Why might this be so?
(require net/url web-server/http/request-structs) (define (req->path req) (define p (url->path (request-uri req))) ; do things with p ...) ____________________ Racket Users list: http://lists.racket-lang.org/users