http-server
Here are 2,714 public repositories matching this topic...
[server] Add warning when a cookie's length would exceed the RFC 6265 minimum user-agent support
We had a report in aiohttp-session
(see aio-libs/aiohttp-session#574) that a user submitting a 'large' cookie had the cookie dropped by the receiving browser.
According to RFC 6265 - section 6.1:
General-use user agents SHOULD
provide each of the following minimum
The docs do not give a format option for iso date with microseconds. Is this possible?
-
Updated
Sep 7, 2021 - Python
-
Updated
Aug 29, 2021 - Erlang
sendfile by Range
Could you make HttpResponse
capable of sending part of file by Range
header, or by user specified offset and size ?
The TcpConnection
class do have a public sendFile
method with offset and length parameters, but HttpResponse
can not take any advantages of that. Currently it can only send the whole file at one time. Maybe a setRange
method would be enough?
-
Updated
Sep 20, 2021 - C
-
Updated
Aug 31, 2021 - PHP
-
Updated
Sep 20, 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
Currently, UnframedGrpcService
returns an error message as plain text.
https://github.com/line/armeria/blob/54b70906bcd813f0b9b2c6715ad4086160ac49b2/grpc/src/main/java/com/linecorp/armeria/server/grpc/UnframedGrpcService.java#L255-L272
It would be nice to return a JSON object if the content type is JSON compatible.
{
"code": "FAILED_PRECONDITION",
"message": "Input validatio
-
Updated
Sep 20, 2021 - Java
-
Updated
Sep 20, 2021 - C++
-
Updated
Sep 17, 2021 - C
-
Updated
Apr 24, 2021 - Java
-
Updated
Jun 11, 2021 - C++
Might be a cool feature to show a symlinks destination path behind the little arrow. This would be a bit like the listing of ls -l
.
-
Updated
Sep 14, 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
Not really a bug or feature request per se, just a deprecation notice. Regarding these:
req.connection
is deprecated. https://nodejs.org/api/http.html#
-
Updated
Dec 27, 2019 - Python
-
Updated
Sep 20, 2021 - Rust
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."
I have modified the default file_server browse template to integrate it with a website, by using
httpInclude
to load blocks of HTML containing the header, footer and theme. These files are hosted on the same Caddy instance, and it works well provided that compression is not enabled. When compression is enabled, the file_server browser becomes garbage: it appears that raw compressed data is inc