add content method with bytes for netty client

This commit is contained in:
Jörg Prante 2023-10-01 10:11:02 +02:00
parent 8b0f593ed7
commit acdbd0c028
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,5 @@
group = org.xbib
name = net-http
version = 4.0.0
version = 4.0.1
org.gradle.warning.mode = ALL

View file

@ -128,6 +128,12 @@ public class HttpRequestBuilder extends BaseHttpRequestBuilder {
return this;
}
@Override
public HttpRequestBuilder content(byte[] bytes, String contentType) {
super.content(bytes, contentType);
return this;
}
@Override
public HttpRequestBuilder setFollowRedirect(boolean followRedirect) {
super.setFollowRedirect(followRedirect);