hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "samuel ma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1799) First request does not include Http body for POST request with Digest auth.
Date Tue, 03 Jan 2017 16:13:58 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795392#comment-15795392
] 

samuel ma commented on HTTPCLIENT-1799:
---------------------------------------

'expect-continue' is not a good way. since not all server support it. HEAD or OPTIONS also
depends on the server support. 
I try the digest auth flow with Http post, I see the first post request includes the http
body. I just want the first POST in the digest auth flow has no body, is it reasonable?

> First request does not include Http body for POST request with Digest auth.
> ---------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1799
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1799
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.2
>            Reporter: samuel ma
>              Labels: Digest
>
> If I want to use Digest for Http Post request, the flow is:
> 1. client---[post]--->server
> 2. client<---[401]---server
> 3. client ---auth--->server
> Is that possible not include http body in the first post request to server?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message