bcoin-org / bweb Goto Github PK
View Code? Open in Web Editor NEWA better web server for node.js
License: Other
A better web server for node.js
License: Other
The main reason for this is to match the default in bcurl/client:
https://github.com/bcoin-org/bcurl/blob/d7e088fad4c284fb5d6fd7205c6b903bd3e6bf83/lib/client.js#L371
Right now bweb hosts explicitly on ipv4:
Line 679 in 98327b4
and I believe this is causing issues on ipv6 enabled machines, such as handshake-org/hs-client#45
Hi.
I'm actually trying to run bcoin on a windows machine, however it fails trying parse urls on incoming requests from nodeClient and walletClient.
I've narrowed it down to the parseURL
function:
Line 49 in 67c03db
Path.normalize
does not behave the same on Windows as it does on Unix based oses:
on Windows:
node
> var path = require('path');
undefined
> path.normalize('/')
'\\'
on Ubuntu:
node
> var path = require('path');
undefined
> path.normalize('/')
'/'
Thanks,
Chris
The Idempotency-Key
HTTP Header used by Stripe could be very useful to add as a bweb
middleware. It can be used to prevent the same effect twice, meaning that you can send the same request twice and be sure that it only has the effect once. This is useful for when sending value and edge cases around failed requests.
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.