Skip to content
#

http-server

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

caddy
kroppt
kroppt commented Jan 21, 2021

I am using Caddy 2.3.0 downloaded from GitHub for Linux amd64.

$ caddy version
v2.3.0 h1:fnrqJLa3G5vfxcxmOH/+kJOcunPLhSBnjgIvjXV/QTA=
$ uname -a
Linux hostname.com 5.4.72-gentoo #1 SMP Sun Nov 8 13:37:56 EST 2020 x86_64 Intel Core Processor (Skylake, IBRS) GenuineIntel GNU/Linux

For the following, I replaced my hostname with hostname.com and my email with `hostnameguy@gmail.

drogon
1
KaungZawHtet
KaungZawHtet commented Dec 8, 2020

How is security preparation for both of maintainers and drogon users ?
Here are something I hope in drogon's roadmap : some security advice with drogon specific code in the documentation , default security tightening in starter projects (example, authentication and authorization in default state of starter projects) and security enhancement in default state of drogon .

In PHP world

armeria
trustin
trustin commented Dec 31, 2020

A user can easily serve a static file in an annotated service as follows:

@Get("...")
@Head("...")
HttpResponse getFile(ServiceRequestContext ctx) {
    return HttpFile.of(...).asService().serve(ctx, ctx.request());
}

However, it'd be even nicer if a user can do this:

@Get("...")
@Head("...")
HttpFile getFile() {
    return HttpFile.of(...);
}

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