elm / http

Make HTTP requests in Elm
https://package.elm-lang.org/packages/elm/http/latest
BSD 3-Clause "New" or "Revised" License
155 stars 46 forks source link

How to handle Server-side redirects? #29

Closed skinnyjames closed 7 years ago

skinnyjames commented 7 years ago

When a user is unauthenticated, I'd like to use the server to redirect to a login page. On remote http requests, the login page is returned in the response instead. Is there a way to handle this?

Thanks!

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

evancz commented 7 years ago

Can you ask around on the Elm slack and see what folks say? If it seems to be an issue with the library, please open a new issue that outlines the technical requirements more clearly.