Hello,
May I know the difference between ContentType.create() and
ContentType.parse() API's? I want the object to be returned after parsing
the content type along with the parameters.
The create() API fails to do the same. Can parse() be used as an
alternative?
Regards,
Nitish
leg Kalnichevski:
> >
> >
> > On 9/23/2021 9:21 AM, Nitish Chitta wrote:
> >> When I try to hit the server with the wrong credentials for basic
> >> authentication, I am getting a *socket-write exception* which should
> >> ideally return a 401 status code. The s
Thanks for the response, Oleg!
Regards,
Nitish
On Thu, Sep 23, 2021 at 2:12 PM Oleg Kalnichevski wrote:
>
>
> On 9/23/2021 9:21 AM, Nitish Chitta wrote:
> > When I try to hit the server with the wrong credentials for basic
> > authentication, I am getting a *socket-w
When I try to hit the server with the wrong credentials for basic
authentication, I am getting a *socket-write exception* which should
ideally return a 401 status code. The server is closing the connection
immediately after it finds the credentials incorrect while the client is
still sending the