Skip to content

Conversation

@BobHanson
Copy link
Owner

  • 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)

- 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)
@BobHanson BobHanson merged commit 1d9f4b9 into master Dec 3, 2020
warownia1 pushed a commit to warownia1/java2script that referenced this pull request Sep 13, 2022
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