Skip to content

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