Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've had the same problem with HTTPBuilder until I realized that <a href="http://tools.ietf.org/html/rfc2616#section-10.3" rel="noreferrer">the HTTP/1.1 spec states:</a></p> <blockquote> <p>Redirection 3xx </p> <p>[..] This class of status code indicates that further action needs to be<br> taken by the user agent in order to fulfill the request. The action<br> required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD.</p> <p>302 Found</p> <p>[..] If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.</p> </blockquote> <p>Essentially this means that the request following a POST and 302 redirect won't work automatically and will require user intervention if the HTTP/1.1 spec is followed by the letter. Not all Http clients follow this practice, in fact most browsers do not. However the Apache Http Client (which is the underlying Http client for HttpBuilder) <a href="http://hc.apache.org/httpcomponents-client/tutorial/html/httpagent.html#d4e1199" rel="noreferrer">is spec compliant</a>. There is an <a href="https://issues.apache.org/jira/browse/HTTPCLIENT-945" rel="noreferrer">issue in the Apache Http Client bugtracker</a> that contains more information and a possible solution for the problem.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload