Commit Graph

24 Commits

Author SHA1 Message Date
xenia dabf565d2b Add crawler handling for correct urls, response codes 301, 302, 403, 404, 500 2020-04-11 02:43:12 -04:00
xenia e39b9addfe Implement login 2020-04-11 01:46:34 -04:00
xenia 66ca83ded6 Fix bugs in cookiejar and transfer-encoding 2020-04-11 01:46:30 -04:00
xenia e3fefc7af4 Fix some mishandling of headers to make cookiejar work 2020-04-11 01:09:26 -04:00
xenia b8f0cc5179 Move util code to util.rkt 2020-04-11 00:32:34 -04:00
Milo Turner 76207c5326 fix comment 2020-04-10 23:34:42 -04:00
Milo Turner 1b84b5119e http-msg-headers is alist now 2020-04-10 23:33:45 -04:00
xenia e1af5acd3f Find flag 2020-04-10 23:17:24 -04:00
Milo Turner 4baeabb263 http-socket stuff 2020-04-10 23:17:01 -04:00
Milo Turner ac0a113c83 add 400 status code 2020-04-10 23:17:01 -04:00
Milo Turner 6e564342c0 forgot to provide these from http-msg
.
2020-04-10 23:17:01 -04:00
Milo Turner 6157a14f37 force-http-body 2020-04-10 23:17:01 -04:00
xenia 47e830154c Add debug mode and cookie jar 2020-04-10 21:48:56 -04:00
Milo Turner 17b45eb020 simplify 2020-04-10 21:15:16 -04:00
Milo Turner b8431d912f streams as http-body's; read chunked transfer-encoding 2020-04-10 21:14:06 -04:00
Milo Turner 9253ba26a0 read HTTP messages with a content-length 2020-04-10 21:02:39 -04:00
Milo Turner d8b7dd876a parsing HTTP headers (body content not supported) 2020-04-10 20:06:50 -04:00
Milo Turner 2921a80b83 header keys can have a little lowercase 2020-04-10 19:41:20 -04:00
xenia ce2976e37f Default headers 2020-04-10 19:23:14 -04:00
xenia 84553cf750 Command line 2020-04-10 19:12:50 -04:00
xenia 22d6f54fa5 More basic setup lol 2020-04-10 19:07:45 -04:00
xenia ae1c6cbeb2 Cleanup lol 2020-04-10 18:54:53 -04:00
Milo Turner 4e7b8b74a3 smol-http package, with http-msg implementation 2020-04-10 16:36:38 -04:00
Milo Turner 5fd0b3c679 hello world 2020-04-10 16:31:41 -04:00