-
Notifications
You must be signed in to change notification settings - Fork 621
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
please how to redirect new url in http module ? #439
Comments
runnerSnail
changed the title
please how to redirect new url?
please how to redirect new url in http module ?
May 23, 2019
sorry i know |
// . req: ServerRequest
req.headers = new Headers();
req.headers.set('Cookie',`user_id=${userinfo.user_id};domain=127.0.0.1;max-age=2678400`);
req.headers.set('Location','/');
// req.headers.set("content-length", "5");
req.respond({ body: new TextEncoder().encode(), status: 302 }); |
it dont work,sad~ |
i know |
Can you explain what happened, in case someone else has the problem? |
|
inverted-capital
pushed a commit
to dreamcatcher-tech/napps
that referenced
this issue
Oct 24, 2024
This change adds the following REST API endpoints. - `GET /api/users` - `GET /api/users/[login]` - `GET /api/users/[login]/items` Documentation will come in a follow-up PR. Towards denoland#439
inverted-capital
pushed a commit
to dreamcatcher-tech/napps
that referenced
this issue
Oct 24, 2024
This change adds the following REST API endpoints: - `GET /api/items` - `GET /api/items/[id]` - `GET /api/items/[id]/comments` Documentation will come in a follow-up PR. Prerequisite for denoland#438 or denoland#429 Towards denoland#439
inverted-capital
pushed a commit
to dreamcatcher-tech/napps
that referenced
this issue
Oct 24, 2024
…d#442) This change adds the `GET /api/users/[login]/notifications` REST API endpoint. Documentation will come in a follow-up PR. Towards denoland#439 and denoland#414
inverted-capital
pushed a commit
to dreamcatcher-tech/napps
that referenced
this issue
Oct 24, 2024
This change contains a few changes that affect interdependent features. Changes include: - Add `<ItemsList />` with cursor-based pagination - Remove now unused code for the previous pagination solution - Fix and rework voting functionality relating to denoland#427 - Tweak REST API endpoints return signature to be more generic, using a `values` field - `fetchValues()` - Simplify and optimise `<VoteButton />` - New `DELETE/GET /api/items/[id]/vote` endpoint - New `GET /api/me/votes` endpoint - Other various cleanups Note: The migration script has been tested successfully locally. Closes denoland#427 Closes denoland#414 Towards denoland#439
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: