Open Tyil opened 7 years ago
This is a known issue, when the library was originally written, there was no buf support in Rakudo. If I recall, I was planning a rewrite in the '2.0' branch that I never did complete. This whole library is probably overdue for a massive rewrite. I simply haven't had time to work on any of my Perl 6 libraries in the last couple of years. As I don't know when I'll be able to get back to them, if someone in the community wants to take over maintenance of this library, I'd be happy to hand out some commit bits. I do want to eventually get back to the rewrite as it was planned to make it more stable and extendable.
Waiting for the rewrite is it possible to advertise better the problems with the current state of the implementation and advice potential users to use another more mature library as Net::HTTP or HTTP::UserAgent ? (I know that I am repeating myself on several issues instead of proposing the right patches on README file. I will try to be more helpful next time.)
I have updated the README to mention how broken this library is right now, and to suggest alternatives.
Thank you.
Trying to upload a binary encoded file currently fails due to a bug in
lib/HTTP/Client/Request.pm6
on line 218. The error given isThe code I used to call it was as follows:
I've discussed this in #perl6 for a bit, and gotten some information there. It might be helpful to you.