Jan Verbeek

Results 41 comments of Jan Verbeek

I think that's a good idea. (Though again with method and URL separate.)

`ht` uses [`reqwest`](https://github.com/seanmonstar/reqwest), so that would need to support HTTP/3 first. That'll likely happen when [`hyperium/h3`](https://github.com/hyperium/h3) is mature enough to be used by [`hyper`](https://github.com/hyperium/hyper).

This is more or less intentional, it matches HTTPie: ```console $ http --offline --json post : POST / HTTP/1.1 Accept: application/json, */*;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Content-Length: 0 Content-Type:...

(EDIT: I wrote the below thinking this was about an updater, not just a notifier, so some of it doesn't apply.) I definitely wouldn't want xh to check for updates...

requests checks both `REQUESTS_CA_BUNDLE` and `CURL_CA_BUNDLE`, so perhaps we should also look for both.

I don't think that's right. Nginx sends me `Transfer-Encoding: chunked` for a static page, and Flask doesn't send it when I have an endpoint that yields lines at one-second intervals....

Hmm. It seems that writing formatted JSON is much slower when streaming because the output isn't buffered. That's probably fixable by adding buffering but flushing it after each read (to...

HTTPie has a plugin for this (an old one, I don't know if it still works?): https://github.com/httpie/httpie-unixsocket If we add this we should use the same interface. reqwest doesn't support...

> 1. Do we want to support bodies whose root is an array? I don't see why not. > 2. Do we want to support specifying an index when constructing...

> One use case I can think of is accessing the same index in array Ah, of course. That makes sense. > I think empty strings is a valid use...