HTTP

Repository for the BTS: HTTP Server series on the [i-y] channel. (by i-y-land)

HTTP Alternatives

Similar projects and alternatives to HTTP based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better HTTP alternative or higher similarity.

HTTP reviews and mentions

Posts with mentions or reviews of HTTP. We have used some of these posts to build our list of alternatives and similar projects.
  • Building a HTTP Server from scratch: Implementing File Download and Upload
    1 project | dev.to | 14 Jul 2021
    // https://github.com/i-y-land/HTTP/blob/episode/03/library/utilities.js#L208 export const readLine = (xs) => xs.subarray(0, xs.indexOf(LF) + 1); export const decodeRequest = (xs) => { const headers = {}; let body, method, path; const n = xs.byteLength; let i = 0; let seekedPassedHeader = false; while (i < n) { if (seekedPassedHeader) { body = xs.subarray(i, n); i = n; continue; } const ys = readLine(xs.subarray(i, n)); if (i === 0) { if (!findIndexOfSequence(ys, encode(" HTTP/"))) break; [method, path] = decode(ys).split(" "); } else if ( ys.byteLength === 2 && ys[0] === CR && ys[1] === LF && xs[i] === CR && xs[i + 1] === LF ) { seekedPassedHeader = true; } else if (ys.byteLength === 0) break; else { const [key, value] = decode( ys.subarray(0, ys.indexOf(CR) || ys.indexOf(LF)), ).split(/(?<=^[A-Za-z-]+)\s*:\s*/); headers[key.toLowerCase()] = value; } i += ys.byteLength; } return { body, headers, method, path }; };
  • Building a HTTP Server from scratch: Understanding Request & Response
    1 project | dev.to | 5 Jul 2021
    🐙 You will find the code for this post here: https://github.com/i-y-land/HTTP/tree/episode/02

Stats

Basic HTTP repo stats
2
4
0.0
almost 3 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com