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

fix empty path #4

Merged
merged 1 commit into from
Aug 18, 2024
Merged

fix empty path #4

merged 1 commit into from
Aug 18, 2024

Conversation

itboy87
Copy link
Contributor

@itboy87 itboy87 commented Aug 9, 2024

HTTP requests fail with a bad request error if the path is empty. If the path is empty, it can be considered as /

this is failing with 400 bad request
HttpFetch.fetch("GET", "google.com", 443, "", secure = true, headers = listOf())

This issue also mentioned here:
fleeksoft/ksoup#43

@itboy87
Copy link
Contributor Author

itboy87 commented Aug 17, 2024

@soywiz can you please merge this PR

@soywiz soywiz merged commit 62e5e32 into korlibs:main Aug 18, 2024
10 checks passed
@soywiz
Copy link
Member

soywiz commented Aug 18, 2024

Thanks!

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