Skip to content
Success

Changes

Summary

  1. Fallback body parsing for http response (#627) (commit: 8d58712) (details)
Commit 8d5871212b4f03031850ad3288e0ef5270e8a9d2 by noreply
Fallback body parsing for http response (#627)
* Added fallback for non-json responses
* Fixed response in PermissionOverrideAction
* Added Channel#putPermissionOverride with the ability to replace
existing invites, similar to existing createPermissionOverride (throwing
exception if already present)
(commit: 8d58712)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/exceptions/ErrorResponseException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Channel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Response.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Request.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/utils/IOFunction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/AbstractChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/events/http/HttpRequestEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/PermissionOverrideAction.java (diff)