Closed edman closed 1 month ago
gleam_httpc 3.0.0 disables autoredirect by default. This solves some issues when using the lustre dev proxy.
For example, when running
gleam run -m lustre/dev start --proxy-from=/api --proxy-to=http://localhost:8000/api
If the app makes a DELETE /api/session request, which returns a 303 redirect to /login, the lustre proxy will now return the 303 to the application.
DELETE /api/session
/login
gleam_httpc 3.0.0 disables autoredirect by default. This solves some issues when using the lustre dev proxy.
For example, when running
If the app makes a
DELETE /api/session
request, which returns a 303 redirect to/login
, the lustre proxy will now return the 303 to the application.