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

301 response issue #88

Open
thurt opened this issue Jan 18, 2018 · 0 comments
Open

301 response issue #88

thurt opened this issue Jan 18, 2018 · 0 comments

Comments

@thurt
Copy link

thurt commented Jan 18, 2018

example invocation

devd -A0.0.0.0 ./

example request from a different host

curl http://172.17.0.2:8000/index.html

this causes a 301 response. I expected it to return a 200 response with the file index.html.

is there a way to setup devd so it returns a 200 response?

context: my client doesn't follow redirects atm. i am using devd 0.8

edit: this looks like the relevant code,

// redirect .../index.html to .../
however i don't see any way to disable this behavior.

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

1 participant