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

http-server

Here are 2,638 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":
jsejcksn
jsejcksn commented May 26, 2021

Ref: #214

After reviewing the source for the send method, it seems that the function is not designed to be used in any place except the tail end of the middleware stack, since it throws (an HttpError with status 404) when there is no match.

This seems rather opinionated (which is fine), but it was not very intuitive for me, and I think it needs to be documented.

It would be nice to

bplommer
bplommer commented Aug 3, 2021

Quite a few headers don't yet have typed models. The following are the unmodelled headers that have their own page on MDN, excluding those marked as deprecated.

  • Accept-CH
  • Accept-Post
  • Access-Control-Allow-Methods
  • Access-Control-Allow-Origin
  • Access-Control-Max-Age
  • Access-Control-Request-Headers
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