kvz / airbud Goto Github PK
View Code? Open in Web Editor NEWRetrieving stuff from the web is unreliable. Airbud adds retries for production, and fixture support for test.
License: MIT License
Retrieving stuff from the web is unreliable. Airbud adds retries for production, and fixture support for test.
License: MIT License
Imagine an URL that is not protected by basic auth. Airbud now defaults the auth
opt to {}
, which passes the opt down to the Request object (because the value is not null
). The request object then errors out:
>>> got error Error: no auth mechanism defined
at Auth.onRequest (****node_modules/request/lib/auth.js:133:32)
at Request.auth (****node_modules/request/request.js:1270:14)
at Request.init (****node_modules/request/request.js:379:10)
at new Request (****node_modules/request/request.js:128:8)
at request (****node_modules/request/index.js:54:10)
at Function.get (****node_modules/request/index.js:62:12)
at Airbud._execute (****node_modules/airbud/lib/Airbud.js:183:22)
To workaround this one needs to explicitly set auth: null
in the opts to Airbud.json
.
Also disallowing "user:pass@" inside of URLs is a really breaking change.
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.