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

Editting request documentation #55

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Editting request documentation #55

merged 1 commit into from
Apr 17, 2024

Conversation

R0DR160HM
Copy link
Contributor

@R0DR160HM R0DR160HM commented Apr 15, 2024

When creating a new request and using the method set_host, the method definition says it sets the method of the request rather than the host.

Ex:

let req = request.new()
    |> request.set_method(Get) // Set the method of the request
    |> request.set_host("")    // Set the method of the request

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lpil lpil merged commit 38fd4ad into gleam-lang:main Apr 17, 2024
1 check failed
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.

2 participants