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

add a send overload #55

Closed
wants to merge 3 commits into from
Closed

add a send overload #55

wants to merge 3 commits into from

Conversation

ringabout
Copy link

ref dom96/jester#241

adding a way supporting user-defined Content-Length

usage:

  if headers.hasKey("Content-Length"):
    request.send(code, body, some(headers["Content-Length", 0]), headers.createHeaders)
  else:
    request.send(code, body, headers.createHeaders)

@dom96
Copy link
Owner

dom96 commented Aug 8, 2021

At this point, can't the framework just use unsafeSend?

@ringabout
Copy link
Author

I see.

@ringabout ringabout closed this Aug 9, 2021
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.

None yet

2 participants