cojs / cogent Goto Github PK
View Code? Open in Web Editor NEWSimpler HTTP requests using co
License: MIT License
Simpler HTTP requests using co
License: MIT License
needs tests
not sure what the best way to do this is. componentjs/package.js#5 (comment)
so everyone can use it. and so that it could potentially replace request
hehe
raw-body
should return a promise instead of a thunkthenables
i hate the dependencies, and i don't think anyone actually uses it
i.e. content-md5
header or any arbitrary sum
tried to update cogent in component and realized that there is no build for node 0.10.
was this the reason to release 1.0 ?
if yes, what do you think to support node 0.10 in another cogent branch?
https://github.com/cojs/cogent/blame/master/lib/index.js#L38
var redirects = 0 || 3;
is always 3 ! lol
Adding a logger in the request function shows no response is received first time but when running successive tests returns statuscode 200. Have to dig in deeper and will update the issue.
should work with https://github.com/segmentio/superagent-retry
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.