Commit Graph

20 Commits

Author SHA1 Message Date
Jonathan Lamothe 43b76aa39c implemented encodeGemResponse 2021-11-24 19:44:17 -05:00
Jonathan Lamothe 391ffd3eea implemented stripCRLF 2021-11-24 19:44:17 -05:00
Jonathan Lamothe 05e83857a7 tests for runConnection 2021-11-24 18:56:12 -05:00
Jonathan Lamothe 63702be1e7 whitespace fix 2021-11-20 11:43:11 -05:00
Jonathan Lamothe 64444bbc81 implemented readMax 2021-11-19 20:58:41 -05:00
Jonathan Lamothe 4a99e5cb0b implemented high-level logic for strFromConn 2021-11-19 19:30:54 -05:00
Jonathan Lamothe 5c83bf3123 implemented basic logic for readURL 2021-11-18 20:00:52 -05:00
Jonathan Lamothe f751ccf191 renamed project to gemcap
It was brought to my attention that there is a rust package named gemserv. I changed the name to avoid any potential confusion.
2021-11-17 13:15:36 -05:00
Jonathan Lamothe e47bc3ce48 implemented runConnection logic 2021-11-10 15:04:00 -05:00
Jonathan Lamothe 00142e91d6 implemented decodeGemURL 2021-10-24 22:04:56 -04:00
Jonathan Lamothe a5d0c25fc3 make gemQuery field of GemURL optional (with Maybe) 2021-10-24 18:54:41 -04:00
Jonathan Lamothe a2d8f1a5ea renamed Request to GemURL
- A request should contain a URL and an optional client certigicate.
- renamed accompanying functions accordingly
2021-10-24 15:43:29 -04:00
Jonathan Lamothe db718eedcd properly encode non-ASCII characters with encodeString 2021-10-24 14:28:41 -04:00
Jonathan Lamothe a61806f8e4 implemented unescapeString 2021-10-24 12:47:37 -04:00
Jonathan Lamothe 3484fda01e escape characters in URLs 2021-10-22 16:51:04 -04:00
Jonathan Lamothe 8590219126 implemented escapeString 2021-10-22 16:40:44 -04:00
Jonathan Lamothe d56116d4c9 implemented encodeRequest
Note: this does not yet handle percent-escaped characters
2021-10-22 14:29:15 -04:00
Jonathan Lamothe 2a11520a5f create Network.GemServ module 2021-10-22 13:35:15 -04:00
Jonathan Lamothe 95e875d799 use hspec 2021-10-19 11:08:12 -04:00
Jonathan Lamothe d8161500cc initial commit 2021-10-19 10:51:15 -04:00