finagle / finagle/featherbed

Inconsistent behaviour of 'accept' method

Open
#22 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
138
Forks
25
PR merge metrics
No merged PRs in 30d

Description

This compiles

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

req.send[String]()
```

But this doesn't

``` scala
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.