-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding {:as :stream} support #3
Comments
Happy to help out with some test cases too. Bit of a can of worms really - there are quite a lot of cases to consider. |
Hey, sorry for the slow response. Started a new job on Monday and haven't had a lot of free time. I agree with what you're proposing, although I'd have to play around to see what feels like a good solution. Realistically I probably won't get the time to work on this for a few weeks due to weekend commitments, but if you sent a pull request, I'd be happy to review it and go from there. |
Hello My turn to apologise for slow response. Very happy to do that but I am cheers, Oliver On 9 January 2014 23:15, d11wtq [email protected] wrote:
|
How about something like this to provide support for the {:as ...} feature.
Most of the functionality would be handled by clojure.java.io but we have to fight it a bit because the default :body type of String should be treated as content not a file descriptor.
The protocols might not be the best approach. They do allow flexibility and avoid having to hard code (cond (nil? x) ... (string? ...) :default ...) statements.
The text was updated successfully, but these errors were encountered: