Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base URL #10

Closed
drwetter opened this issue Apr 11, 2018 · 3 comments
Closed

base URL #10

drwetter opened this issue Apr 11, 2018 · 3 comments

Comments

@drwetter
Copy link

Hi Hanno,

Often web servers have a mapping where to route requests to, depended on the URL. In those cases they work as a proxy.

E.g. by supplying /app you may hit a Tomcat, by /main a Node/Express server, under /whatever yet another server. Bottom line is that the user should be able to supply a base URL where all test URLs are appended to.

Q: If it's just one server and / is redirected to /someotherpath. Does snallygaster follow the URL?

Cheers, Dirk

@EdOverflow
Copy link

snallygaster uses urllib3's PoolManager() and it appears that snallygaster does follow redirects as seen below:

snallygaster/snallygaster

Lines 174 to 175 in 7d5dc67

r = poolmanager.request('GET', url, retries=False,
redirect=True)

@drwetter
Copy link
Author

Ah, ok, thx @EdOverflow (I am not that fluent in python)

@hannob
Copy link
Owner

hannob commented Jul 3, 2018

Duplicate of #6

@hannob hannob marked this as a duplicate of #6 Jul 3, 2018
@hannob hannob closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants