-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
add option to allow resource without trailing slash? #61
Comments
Hello, it looks like an angular issue, however if you look at this SO thread you will find that
Hope this helps! |
Yes, thanks, it seems using "host/:param" will prevent the slash being removed. |
So with a regular flask app, you can do the following to allow requests without trailing slashes:
However, I tried this with eve and it doesn't seem to work. |
@nicolaiarocci do you think it's a good idea to give leeway with trailing slashes in requests? If so, it would be a quick fix to allow for my EDIT: apologies, it looks like this was updated |
I'm trying to use flask-eve with angular resources. The problems is, angular seems to remove the trailing slash from the url.
When eve gets this url, it gives a 301 response, but I don't think angular will follow this :-|
Is it possible to configure eve to serve from a slashless resource without a redirect?
Thanks.
The text was updated successfully, but these errors were encountered: