Conversation
Notices
-
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:03:59 JST snacks
am i fucking retarded? -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:04:07 JST snacks
i mean, yeah -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:04:25 JST snacks
but idk what's wrong with my http response -
Embed this notice
kaia (kaia@brotka.st)'s status on Sunday, 29-Dec-2024 06:08:07 JST kaia
@lucy @snacks
boys shouldn't show girls their http responses on public fedi :ChenBlush: -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:08:08 JST :blobcatflower:
@snacks show me -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:08:31 JST snacks
@lucy HTTP/1.0 200 OK\r\nServer: #cofe\r\nContent-type: text/html\r\nContent-length: 27\r\n\r\n<html>hello, world</html>\r\n -
Embed this notice
jonossaseuraava (jonossaseuraava@post.ebin.club)'s status on Sunday, 29-Dec-2024 06:09:12 JST jonossaseuraava
@kaia @lucy @snacks
that how u get prageantnts
no s protectionssnacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:11:09 JST snacks
@lucy i think content length shouldn't be required? but it didn't work either. Just tried to use curl instead of wget and it gives me "orld</html>" at least? -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:11:50 JST snacks
@lucy oh shit, curl without content-length works -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:14:36 JST :blobcatflower:
@snacks http 1.0 is obsolete, try using 1.1 instead otherwise it might literally be too old and the response would be ignored lmao Doughnut Lollipop 【記録係】:blobfoxgooglymlem: likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:16:55 JST snacks
@lucy even with http/1.1 wget still refuses, but curl accepts my shit ig -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:17:06 JST :blobcatflower:
@snacks and then maybe add explicitly "Connection: close" to shush all keep alive beggars snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:17:42 JST snacks
@lucy that sounds good tbh -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:19:23 JST snacks
@lucy i'm not processing shit rn
GET / HTTP/1.1
Host: localhost:8080
User-Agent: Wget/1.25.0
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:19:25 JST :blobcatflower:
@snacks maybe print what the request header looks like and see if you actually process that correctly snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:20:23 JST snacks
@lucy nope, wget still thinks there's no content apparently -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:22:48 JST snacks
@lucy AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:22:57 JST snacks
@lucy i can't tell you nonononononnono -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:24:52 JST snacks
@lucy \r isn't carriage return in ansi forth escape codes lmao. I just assumed because every language ever uses it -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:24:54 JST :blobcatflower:
@snacks tell me snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:25:08 JST snacks
@lucy saw it after making wget print the response header -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:26:35 JST :blobcatflower:
@snacks big oof snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:27:12 JST snacks
@lucy this is the 2nd time i'm writing a webserver and the 2nd time line endings fuck me over for hours -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:31:18 JST snacks
@lucy i'll prob demand it. Easier to parse if i know what my line end looks like -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:31:20 JST :blobcatflower:
@snacks do you demand or ignore the \r in requests? snacks likes this. -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:48:40 JST :blobcatflower:
@snacks then it's gonna break a bunch of http clients :3 it shouldn't be hard to ignore tbqh snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:48:47 JST snacks
@lucy whyyyyyyy -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:49:46 JST :blobcatflower:
@snacks http is terrible snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:50:13 JST snacks
@lucy wait, i'm planning to put this shit behind a reverse proxy anyway. Fuck http clients -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Sunday, 29-Dec-2024 06:52:11 JST Phantasm
@lucy @snacks Should be fine with 1.1 (2.0 does weird stuff). It's specified in the standard for HTTP headers. On the other hand it doesn't surprise me that clients don't follow specs. snacks likes this. -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Sunday, 29-Dec-2024 06:53:17 JST :blobcatflower:
@phnt @snacks i know it's the specification but de-facto standards is the only thing that actually matters 🤷 snacks likes this.
-
Embed this notice