Skip to content

cant support okhttp 2.4 #174

@longbai

Description

@longbai

Request.Builder no longer accepts null if a request body is required. Passing null will now fail for request methods that require a body. Instead use an empty body such as this one:

RequestBody.create(null, new byte[0]);

会抛出异常,需要改下传入参数

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions