You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application which needs to do:
raise HTTPFound(location=location)
config.include('rest_toolkit') steps in and catches that exception, returning in the body:
{"message": "302 Found"}
...rather than actually generating a redirect. Without the config.include I get a Location header. With it, I don't (and instead, get content type application/json.)
The text was updated successfully, but these errors were encountered:
I can see why the location header would get lost, that is indeed a bug. The status code if the response should still be 302. Can you please check if that is true?
I have an application which needs to do:
raise HTTPFound(location=location)
config.include('rest_toolkit') steps in and catches that exception, returning in the body:
{"message": "302 Found"}
...rather than actually generating a redirect. Without the config.include I get a Location header. With it, I don't (and instead, get content type application/json.)
The text was updated successfully, but these errors were encountered: