Folks, I have a pull request pending to break net/url into: - net/url: which functions as it currently does - net/url-strings: to parse/unparse URL strings and paths
Here is my justification for doing so: I am writing some software that requires net/url to parse URLs to find their host, path and other bits. I want to minimise this software's requirements, and noticed that to require net/url requires HTTP(*) -- which isn't necessary for the purposes of snipping up a URL. There is a second pull request against racket/net for the test and documentation. I have also noticed that web-server/lang/abort-resume (and/or web-server/base) requires web-server/http, when in fact they can get away with web-server/http/response-structs (which removes the requirements for all the HTTP gubbins). Again, I'm interested in this because I want to call-with-serializable-current-continuation -- a process that doesn't require any "web-server"ing (the purist in me says that even w-s/h/r-s are unnecessary... but I'm not rewriting the web-server, thank you very much). So, unless there are any objections, I also want to make changes to: - Change web-server/http to web-server/http/response-structs in: · servlet-structs.rkt · manager.rkt · web-server/private/servlet.rkt - Change net/url to net/url-structs in: · request-structs.rkt - Change the requirements of define-closure.rkt: · remove racket · add racket/base · add racket/local (I don't know the paths off hand at the moment, but I'll know the files when I `find` them). Doing this will make a requirer of web-server/lang/abort-resume bring in a much reduced (but sufficient) set of modules. I hope that makes sense. If it doesn't, please let me know! * HTTP isn't the end of it... *it* requires parser tools, network libraries and all sorts; which make it even less economical to include. Regards, Tim -- Tim Brown CEng MBCS <tim.br...@cityc.co.uk> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ City Computing Limited · www.cityc.co.uk City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB T:+44 20 8770 2110 · F:+44 20 8770 2130 ──────────────────────────────────────────────────────────────────────── City Computing Limited registered in London No:1767817. Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE VAT No: GB 918 4680 96 -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.