You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the server reply with HTTP 302 redirect, the httr (or curl?) follows the new location but issues GET request to this new location instead of origin all POST.
Request 2 is expected to contain the same body as request 1, but it contains nither Content-Length header no request body
HTTP/1.1 411 Length Required
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 19 May 2016 21:09:18 GMT
Connection: close
Content-Length: 344
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
The text was updated successfully, but these errors were encountered:
When I do post request
POST(url,path="/api/compute",accept("text/plain"),content_type("application/json"),body=jsonRequest)
and the server reply with HTTP 302 redirect, the httr (or curl?) follows the new location but issues GET request to this new location instead of origin all POST.
The traffic capture:
Request 1:
Response 1:
Request 2:
Request 2 is expected to contain the same body as request 1, but it contains nither Content-Length header no request body
The text was updated successfully, but these errors were encountered: