Comments (4)
Hey supernovus!
Actually masak and I figured out that POST requests doesn't work at all.
I guess it's because of .get which returns only the first line (here: https://github.com/supernovus/perl6-http-easy/blob/master/lib/HTTP/Easy.pm6#L57) and later we want to extract the header from what we've just .get - which is incorrect. Going further we can't read the content because we dont have the Content-Length field and so on... :)
supernovus++ # a lot of work done
from http-easy.
I due seem to remember planning on a rewrite of a bunch of these libraries. I'm guessing this is one that is in need of some fairly substantial changes in order to work as expected.
from http-easy.
I will try to find some time to fix this. :)
.recv would help, then some refactoring and.. we'll see.
from http-easy.
Quick solution:
7a6b553
should be enough, take a look.
We should check this commit, it may contain some redundant code or something. :)
from http-easy.
Related Issues (14)
- recv() is not guaranteed to work the way it is used in this module HOT 3
- Infinite wait for response on 2013.05 Rakudo Star RC HOT 4
- No tests HOT 1
- No such method 'decode' for invocant of type 'Any' HOT 2
- doesn't die if port is already bound HOT 3
- Closing connection without returning any data back / POSTDATA questions. HOT 3
- mutlipart/form-data and Chunked transfer encoding HOT 1
- Use of uninitialized value of type Any in numeric context HOT 2
- Example does not work
- Apache benchmark fails HOT 4
- panda installation error... HOT 2
- Invalid operation on binary string HOT 3
- Server stalled HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-easy.