Feature request : Either fully ignore or obey HTTP redirects

61 views
Skip to first unread message

퍼블릭

unread,
Nov 13, 2015, 5:33:11 PM11/13/15
to automa...@googlegroups.com

I brought this up to the forum 'cause additionally I found that it only forwards requests with code 302, but not other status codes that can contain Location header, which seems to be a bug.
I wonder if this is still considered or not... :P

Best regards,
퍼블릭

---------- Forwarded message ----------
From: "퍼블릭" <my.pu...@gmail.com>
Date: Nov 4, 2015 6:02 AM
Subject: Automate
To: "Henrik Lindqvist" <in...@llamalab.com>
Cc:

I suggest a 'Do not follow redirects' input argument to the HTTP Request block.
It does not utilize cookies, and redirecting drops headers and cookies set by original page which makes cookie processing much harder.
If that feature existed, it would be much convinient to communicate with websites.
Thank you.

Henrik Lindqvist

unread,
Nov 13, 2015, 5:37:37 PM11/13/15
to Automate, my.pu...@gmail.com
An "Don't follow redirect" option will be in the next release.
Join the Alpha if you want it early, i'll probably release that in a few days.

Cameron Fraser

unread,
Dec 27, 2025, 1:50:59 PM (2 days ago) Dec 27
to Automate for Android
with flag not set I get 301 error, suggestions? 

Henrik "The Developer" Lindqvist

unread,
Dec 27, 2025, 3:26:42 PM (2 days ago) Dec 27
to Automate for Android
Maybe the remote host doesn't send an "Location" header, or it redirect to itself causing a loop. Try logging the response headers.

Cameron Fraser

unread,
Dec 27, 2025, 3:28:07 PM (2 days ago) Dec 27
to Automate for Android
Screenshot_20251227-122709.png
Screenshot_20251227-122733.png

Henrik "The Developer" Lindqvist

unread,
Dec 27, 2025, 3:32:35 PM (2 days ago) Dec 27
to Automate for Android
As said, try using the Log append block on the Response header directory output variable.

Cameron Fraser

unread,
Dec 27, 2025, 3:45:19 PM (2 days ago) Dec 27
to Automate for Android
Screenshot_20251227-124424.png

Henrik "The Developer" Lindqvist

unread,
Dec 27, 2025, 3:52:44 PM (2 days ago) Dec 27
to Automate for Android
It seems the Java/Android HTTP client doesn't redirect from HTTP to HTTPS, that's apparently expected behavior, see here.
Anyhow, just prepend https:// to your URL. HTTPS should always be used.

Cameron Fraser

unread,
Dec 27, 2025, 10:58:55 PM (2 days ago) Dec 27
to Automate for Android
Thank you, appreciate  and sorry for the trouble 
Reply all
Reply to author
Forward
0 new messages