Skip to content

Query parameter support and optimizations, bump version to 0.2.0#2

Merged
szeka9 merged 8 commits into
mainfrom
development
Mar 27, 2026
Merged

Query parameter support and optimizations, bump version to 0.2.0#2
szeka9 merged 8 commits into
mainfrom
development

Conversation

@szeka9
Copy link
Copy Markdown
Owner

@szeka9 szeka9 commented Mar 27, 2026

  • update callback function signature to accept HTTP context object for future extensibility
  • eliminate usages of dictionaries from the parser class, use simpler lookups instead
  • allow url-encoded query with percent encoding
  • fix HEAD method for static resources

szeka9 added 8 commits March 25, 2026 23:33
Replace callback dictionary with tuples
to improve RAM usage and readability.
Instead of passing state machine variables selectively,
supply the statemachine object as a context as a uniform
contract in all callback functions.
Parse query part in HTTP request URL. Add public
methods for parsing percent-encoded format and
key-value extraction.

Create common base class for HTTP unit tests
for cleaner separation of config-based setup.
- extend mem_usage example with query parameter option
- fix query-parameter parsing to respect default values when keys are missing
- add new unit tests for testing missing/empty url-encoded query parameters
@szeka9 szeka9 merged commit ed30b9b into main Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant