This repository was archived by the owner on Jan 21, 2025. It is now read-only.
(feat) Add support for request attributes - #100
Merged
Merged
Conversation
mathieucarbou
commented
Sep 8, 2024
Owner
- request->setAttribute(name, val)
- request->hasAttribute(name)
- request->getAttribute(name, defaultValue)
mathieucarbou
force-pushed
the
attributes
branch
from
September 8, 2024 22:33
076925b to
911692b
Compare
Owner
Author
|
Since request attribute usage is relatively a niche use case, more useful with middleware, I decided to implement it using |
|
This is excellent implementation 👍🏻 |
mathieucarbou
force-pushed
the
attributes
branch
3 times, most recently
from
September 10, 2024 22:20
5ac5fd2 to
e7210d5
Compare
- request->setAttribute(name, val) - request->hasAttribute(name) - request->getAttribute(name, defaultValue)
mathieucarbou
force-pushed
the
attributes
branch
from
September 10, 2024 22:26
e7210d5 to
d5a09d2
Compare
i-am-shodan
pushed a commit
to i-am-shodan/ESPAsyncWebServer
that referenced
this pull request
Apr 9, 2026
When accepting an upload, discard any bytes after Content-Length. This ensures that handlers such as AsyncJson can safely allocate the correct sized buffer without needing to additionally check for overrun. Fixes mathieucarbou#100
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.