http-server
Here are 2,785 public repositories matching this topic...
Describe the bug
Grepping over the source code shows that chardet/cchardet is still present in codebase, but chardet was replaced with charset-normalizer by #5930
A hero for dropping all remaining parts is wanted!
:)
To Reproduce
grep over aiohttp cloned repo; or use github web search: https://github.com/aio-libs/aiohttp/search?q=chardet&type=code
Expected behavior
No c
The docs do not give a format option for iso date with microseconds. Is this possible?
-
Updated
Sep 7, 2021 - Python
-
Updated
Nov 4, 2021 - Erlang
Security
jemalloc benchmarks
-
Updated
Nov 5, 2021 - C
-
Updated
Sep 27, 2021 - PHP
-
Updated
Nov 6, 2021 - C++
-
Updated
Mar 3, 2020 - C++
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-
Updated
Aug 3, 2021 - Go
The logs produced by LoggingService and LoggingClient are human-readable.
However, this non-structured text is not good when users want to store the log file to Elastic Search or other key-value storage.
We can give an extension API to users to customize the output format. For example:
interface LogFormat {
static LogFormat ofText() {
// return a log message formatted-
Updated
Nov 5, 2021 - Java
-
Updated
Nov 3, 2021 - C++
-
Updated
Nov 5, 2021 - C
-
Updated
Apr 24, 2021 - Java
-
Updated
Jun 11, 2021 - C++
actix-web has a ready-to-go compress middleware. I currently don't really see any downsides with turning that on. Will have to do a little benchmarking to see whether it's ok to generally turn this on.
-
Updated
Oct 16, 2021 - Java
We sometimes have data types which subtype Ordered and other times have types which implement Ordering. We only need to do Ordering. We should ensure that all types which are Ordered also have an Ordering instance.
Context: http4s/http4s#5013 (comment)
-
Updated
Jul 16, 2021 - Ruby
Describe the bug
When an optional route param (i.e. /foo/:bar?) is not supplied for a particular request, the req.params object will still contain it, with a string value of "undefined".
This would mean that i.e. if (req.params.bar) would unexpectedly always be truthy, even when the param was not supplied.
To Reproduce
Simple app with optional route param bar:
-
Updated
Nov 3, 2021 - Rust
-
Updated
Dec 27, 2019 - Python
The OpenApi specification allows top-level servers object to be specified:
Field Name Type Description servers [Server Object] An array of Server Objects, which provide connectivity information to a target server. If the servers
Improve this page
Add a description, image, and links to the http-server topic page so that developers can more easily learn about it.
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."
It seems Caddy does not support wildcards/ expression matching in the reverse proxy's header_up.
For example this does not remove any headers:
This works as expected, but is limited in its use:
It'd be great if Caddy would support wildcards/ expression matching in the reverse proxy's header_up/ header_down.