herkulessi
herkulessi
DDeno
Created by Quantum on 11/12/2023 in #help
Is there a built-in parser for the string that Deno.inspect produces?
Should be impossible since inspect might be beautiful, however it's not complete. Especially it only goed like 3 steps deep into objects, shortens sstring and so forth
4 replies
DDeno
Created by herkulessi on 11/11/2023 in #help
Set-Cookie - Header shows as "deleted"
That might help but wasn't the issue. In case anybody finds this in the future: If you server returns a redirect, deno seems to follow it. Since deno doesn't handles cookies the Cookie was missing in the second request, so the Server wanted to delete the cookie. I only got the final cookie, not the one returned in the redirect.
9 replies
DDeno
Created by herkulessi on 11/11/2023 in #help
Set-Cookie - Header shows as "deleted"
A Browser shows the Header as expiring with the current session, however when using curl the set-cookie contains a expiry date at the unix epoch. I will have to test further whether the browser or deno is misbehaving or if it's the server.
9 replies
DDeno
Created by herkulessi on 11/11/2023 in #help
Set-Cookie - Header shows as "deleted"
I do know I have to manually handle cookies, which is a bit annoying, but fine for my usecase. What I don't understand is why I don't get the actual cookie value when I read the get-cookies Header from the response, but a literal deleted.
9 replies
DDeno
Created by herkulessi on 8/25/2023 in #help
Hashbang with TS file (without .ts extension)
--ext=ts in case someone will find this in the future 🙂
3 replies
DDeno
Created by herkulessi on 8/25/2023 in #help
Hashbang with TS file (without .ts extension)
NEVERMIND, scrolling through the docs a bit further would have helped lol
3 replies
DDeno
Created by herkulessi on 6/17/2023 in #help
Run Deno on Linux without /proc mounted
It is an option, but if it is not strictly necessary I don't want to do it...
4 replies