Conversation
Second attempt at this. Fixed several bugs from the first attempt at using quri.
|
Hunchentoot successfully compiles with this. If you still think I should build a compatibility layer, let me know. |
|
The issue is not so much Hunchentoot, but existing libraries and Zach Beane ran the Quicklisp dist creation process with the previous -Hans 2015-07-11 23:14 GMT+02:00 Thayne McCombs notifications@github.com:
|
|
Ok, I'll add the compatibility. Do you know which libraries require puri support? |
|
2015-07-12 16:49 GMT+02:00 Thayne McCombs notifications@github.com:
|
Made the following changes: - use QURI:MAKE-URI instead of QURI.URI:MAKE-URI. The former is in the main namespace, and will instantiate the proper class, rather than just using the generic URI class. - Just store the uri parameter in unparsed-uri. We only ever use UNPARSED-URI if it is a string, and we don't mutate it so there is no need to copy it.
Add a special variable to control whether HTTP-REQUEST returns a PURI:URI or a QURI:URI. By default returns a PURI:URI for backwards compatibility.
I would also replace alist-to-url-encoded-string, but quri doesn't have a way to pass a custom url encoder. I don't know if anyone actually uses that feature though.
Second attempt at this. Fixed several bugs from the first attempt at
using quri.