Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cohttp-eio Client module #879

Merged
merged 9 commits into from
Aug 27, 2022
Merged

cohttp-eio Client module #879

merged 9 commits into from
Aug 27, 2022

Commits on Aug 24, 2022

  1. eio(client): implement Cohttp_eio.Client module

    Add type for call types:
    
    1. body_disallowed_call : HTTP client call where body is not allowed to be
    present in the request
    
    2. body_allowed_call : HTTP client call where body is allowed to be present
    in the call.
    
    Add functions call, get,head,delete,post,put and patch functions to imitate
    HTTP method calls.
    bikallem committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    dd16a48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6243c13 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f870d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb1f0d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Configuration menu
    Copy the full SHA
    749d418 View commit details
    Browse the repository at this point in the history
  2. eio(client): add test/demo for chunked encoding

    Adde tests/demos both writing and reading chunked encoding in both client and
    and server.
    bikallem committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    67089da View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. eio(client): Client.read_fixed take_all

    RFC https://www.rfc-editor.org/rfc/rfc7230#section-3.3.3 point 7 states
    that responses with missing Content-Length/Transfer-Encoding headers
    should read the message body until the end of file.
    
    This commit implements the above spec. Since now that read_fixed is
    different in client and server, we also remove it from the Body module.
    bikallem committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    8adf2ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11458b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4df4ae View commit details
    Browse the repository at this point in the history