Hello,

I tried to use the incubator/httpclient to use a rest API. This API use non 
standard header and a json web token for authentication. This API return 401 
status when the token is missing.

Currently ( java version "10" 2018-03-20 ) the response processing end with :
```
java.io.IOException: Invalid auth header
        at 
jdk.incubator.httpclient/jdk.incubator.http.AuthenticationFilter.lambda$response$1(AuthenticationFilter.java:211)
```

I did not find a way to disable this filter or workaround the issue, and the 
current code block my use case.

Is it intended ? (I believe that 401 is agnostic about the way the auth must be 
performed, but I’m not sure)
Any workaround to suggest ?

Regards,
Yann.

Reply via email to