mach icon indicating copy to clipboard operation
mach copied to clipboard

HTTP for JavaScript

Results 13 mach issues
Sort by recently updated
recently updated
newest added

The most current version found via npm refers to a probematic version of the `qs` package. For a report, check `npm audit` (myself running node10 w/ npm 6.x) or this...

@mjackson where's all the documentation gone? I had to navigate through the sources to understand some odd behaviour of `map()`, because the Wiki is not available anymore. I remember some...

Please add documentation that shows how to add the host and port (for example) when creating a server. Thank you.

If I send a request without a Host header attached, the whole server crashes. ``` var hostParts = host.split(":", 2); ^ TypeError: Cannot read property 'split' of undefined at createLocation...

Currently its only supported 0.10.x

I am using `mach.get()` in conjunction with the Mach HTTP server functionality, and I'm seeing an inconsistency in how return values are propagated through the promise chain. For example, the...

I'm implementing a middleware that will set the `Content-MD5` header (https://tools.ietf.org/html/rfc1864). This requires the full content of the response body to be read and then hashed. I'm trying to implement...

Is there a reason that mach.gzip only compresses text/js/json responses? What about media such as images, or other text formats, such as XML (yeah yeah, I know, but it _could_...

So i'm trying to implement this in a React project and am using Jest to test with. I'm currently getting this error when triggering a fucntion that calls the mach...