Skip to content
#

http-server

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

caddy
panagiks
panagiks commented Apr 20, 2021

🐣 Is your feature request related to a problem? Please describe.
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

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

ikhoon
ikhoon commented Jun 4, 2021

Currently, we proivde FilteredHttpRequest and FilteredHttpResponse for tranforming a headers or data.
But it is a bit difficult to implement FilteredHttp* because users have to check the type of HttpObject.
Most users might not know the hierarchical relation between HttpOject, HttpHeaders, ResponseHeaders and HttpData

return new FilteredHttpResponse(response) {
      
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