The Wayback Machine - https://web.archive.org/web/20210816115721/https://github.com/topics/http-server
Skip to content
#

http-server

Here are 2,655 public repositories matching this topic...

caddy
dtelyukh
dtelyukh commented Aug 2, 2021

1. Environment

1a. Operating system and version

Manjaro 21.1.0 Pahvo (x86_64 Linux 5.4.135-1-MANJARO)

1b. Caddy version (run caddy version or paste commit SHA)

2.4.3

1c. Go version (if building Caddy from source; run go version)

1.16.6

2. Description

data race found

Caddy config:

{
	"admin": {
		"config":
Some-Dood
Some-Dood commented Aug 6, 2021

Hello there! After some experimentation with the mocking API, I discovered that mocked contexts do not provide a mocked Cookies instance. Suppose we wanted to test the following middleware:

// session.ts
// Explicit type annotations omitted for brevity...
export function checkSession(ctx) {
    const maybeSessionId = ctx.cookies.get('sid');
    ctx.assert(maybeSessionId, St
rossabaker
rossabaker commented Aug 13, 2021

These encoders were all explicit through series/0.22, because they required an explicit Blocker instance. This is not necessary in Cats-Effect 3, so there's no reason these encoders couldn't be made implicit. They are located in EntityEncoder.scala, and could be made implicit in a PR against series/0.23.

To resolve the TODOs on chunk size, we could provide explicit alternatives with a par

tinyhttp
talentlessguy
talentlessguy commented Dec 10, 2020

Now that @tinyhttp/router v1.0.5+ no longer depends on http module of Node.js, it should be very easy to implement basic Deno support for tinyhttp. Probably it would be cool to have it located in the separate deno folder with all editor settings specifically for it.

There aren't strict requirements on how it should be implemented, but i suppose we need to use either raw gh links, jspm or

Improve this page

Add a description, image, and links to the http-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the http-server topic, visit your repo's landing page and select "manage topics."

Learn more