Skip to content

Inconsistent behaviour of 'accept' method #22

@ilia-murzinov

Description

@ilia-murzinov

This compiles

    val req = 
      .put("foo/bar")
      .withContent("Hello world", "text/plain")
      .accept("text/plain")

    req.send[String]()

But this doesn't

    val req = client
      .put("foo/bar")
      .accept("text/plain")
      .withContent("Hello world", "text/plain")

    req.send[String]()

with because can't find implicit CanBuildRequest instance

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