Skip to content

HttpRequest #36

@ccdle12

Description

@ccdle12
  • Test multiple header values when serializing request
  • Create an HttpRequestParser, similar to the parsers for Response.
    • Make it step through a buffer, reading bytes and returning REQUEST_MORE if its out of bytes
    • Create a parser for the Request Line
    • Finish tests for Request Line
    • Create HttpRequestParser
    • Reuse header parser
    • Reuse body parser
    • Make body parser step a macro
    • Test creating an http request, serialize http request, deserialize http request
    • Test for deserialized headers equality
    • Add test for chunked body
    • in to_string(), handle headers with multiple values
    • Update all test parsers to use the same strategy e.g. implement an individual parse_step fn or each one has its own fixture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions