Skip to content
#

http-server

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

caddy
excid3
excid3 commented Jun 17, 2021

I'm managing a bunch of servers and they're running Caddy v2. The upgrade command works great for upgrading with the packages previously chosen. In the future, it's likely I'll want to add/remove packages from that list over time.

Would it make sense to add flags to add and remove packages from the caddy build on upgrade?

caddy upgrade --add-package github.com/caddy-dns/cloudflare
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

perok
perok commented Jul 8, 2021

Running http4s 0.23.0-RC1 with Jetty and IPv6 crashes with the following:

ERROR org.http4s.servlet.Http4sServlet - Error processing request
java.util.NoSuchElementException: None.get

The issue is that Jetty returns the following addresses:

req.getLocalAddr -> "[0:0:0:0:0:0:0:1]"
req.getRemoteAddr -> "[0:0:0:0:0:0:0:1]"

This crashes the following parsing `IpAddress

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