-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use quri instead of puri for URIs. #65
base: master
Are you sure you want to change the base?
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 [email protected]:
|
Ok, I'll add the compatibility. Do you know which libraries require puri support? |
2015-07-12 16:49 GMT+02:00 Thayne McCombs [email protected]:
|
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.