httptools icon indicating copy to clipboard operation
httptools copied to clipboard

Fast HTTP parser

Results 22 httptools issues
Sort by recently updated
recently updated
newest added

They should not be required for anything.

``` running build_ext building 'httptools.parser.parser' extension creating build/temp.linux-x86_64-3.11 creating build/temp.linux-x86_64-3.11/httptools creating build/temp.linux-x86_64-3.11/httptools/parser creating build/temp.linux-x86_64-3.11/vendor creating build/temp.linux-x86_64-3.11/vendor/llhttp creating build/temp.linux-x86_64-3.11/vendor/llhttp/src x86_64-linux-gnu-gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security...

I got this stack trace ``` Collecting sanic Using cached sanic-0.5.4-py3-none-any.whl Requirement already satisfied: aiofiles>=0.3.0 in ./.pypyenv/site-packages (from sanic) Collecting httptools>=0.0.9 (from sanic) Using cached httptools-0.0.9.tar.gz Collecting ujson>=1.35 (from sanic)...

Behind a reverse-proxy or a load balancer, you often need to get the original client IP. A lot of load balancer provide these information with the PROXY protocol - HAproxy...

According to the specification of HTTP/1.1 ... > Responses to the HEAD request method never include a message body because the associated response header fields (e.g., Transfer-Encoding, Content-Length, etc.), if...

From time to time, my server output an error that let me think that `Request.on_url` is not called for the current stream. Here is a small script to reproduce the...

How to get access to request body? Something like this: httptools.HttpRequestParser.get_body()

For the sake of compatibility with ``urlparse`` and ``urlsplit`` from the ``urllib.parse`` standard lib module should the ``URL`` class * rename ``schema`` to ``scheme`` * rename ``host`` to ``netloc`` or...

Hi there :wave: I'm trying to implement a flag `--limit-request-header-count` on `uvicorn`, which I implemented changing the value of an attribute `too_many_headers` and raising an exception from `on_header` callback, see...

Please bump httptools version. It seems that there was some parsing issue remaining with regard to the CVE's llhttp v6.0.10 changelog: http: disable chunked encoding when OBS fold is used...