Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HTTP connection fixes #182

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

Merged
merged 2 commits into from
Dec 3, 2020
Merged

HTTP connection fixes #182

merged 2 commits into from
Dec 3, 2020

Conversation

BobHanson
Copy link
Collaborator

  • adds UnknownHostException
  • "NetworkError" -- no wifi, method error 405, CORS error -- all throw
    UnknownHostExecption with responseCode set to 400 (but that is not
    retrievable, since getResponseCode() throws UHE!)
  • fixes incorrect HTTP response codes
  • fixes async return
  • implemented for Java (was just JavaScript)
  • adds SimpleHttpClient.createRequest(method,string)

hansonr and others added 2 commits December 3, 2020 09:36
- adds UnknownHostException
- "NetworkError" -- no wifi, method error 405, CORS error -- all throw
UnknownHostExecption with responseCode set to 400 (but that is not
retrievable, since getResponseCode() throws UHE!)
- fixes incorrect HTTP response codes
- fixes async return
- implemented for Java (was just JavaScript)
- adds SimpleHttpClient.createRequest(method,string)
SimpleHttpClient minor extensions and fixes
@BobHanson BobHanson merged commit e2a64e4 into java2script:master Dec 3, 2020
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.

1 participant