popa.bogdanp
2020-6-8 19:35:12

I had some time today so I wrote some docs for https://github.com/bogdanp/racket-http-easy\|http-easy: https://docs.racket-lang.org/http-easy/index.html What do you guys think?


samth
2020-6-8 19:58:06

A few thoughts: 0. It looks really great. 1. It needs a little bit of a guide at the top. 2. Could uri’s allow bytes? too? 3. Can you make get be the first entry? 4. There are of course other things that it would be nice to add, but they can come later.


samth
2020-6-8 20:01:02

More thoughts: 5. The docs should maybe mention the following issues (even if to say they aren’t handled, or are dealt with elsewhere): HTTPS, compression, cookies, proxies.


popa.bogdanp
2020-6-8 20:32:49

Thanks! I’ll implement all of those suggestions.


soegaard2
2020-6-8 20:35:12

A guide section at the beginning with a few examples would be great.


samth
2020-6-8 21:27:48

Other things that I find myself wanting when building http requests: 1. managing authorization headers 2. posting json


samth
2020-6-9 01:47:12
  1. Setting the User-Agent (would be great to have a parameter for doing this)