Call for testing: http 1.0.0-1

The http snap packages httpie, with unix socket support so it can talk to snapd as well.

To get the new version please install from the candidate channel (snap install --candidate http).

I’ve tested it on Ubuntu 16.04 and it works. I’d appreciate testing on Arch, Fedora, and Ubuntu 18.04. As it’s python, if you have a not-mainly-ASCII locale I’d appreciate that as well.

What to test:

  1. GET json HTTP api: http Output should be pretty-printed and colorized.
  2. Same but HTTPS: http for ex.
  3. GET snapd api: http snapd:///v2/system-info
  4. POST snapd api: sudo http snapd:///v2/snaps/bofh action=install


distro http GET https GET snapd GET snapd POST
Ubuntu 16.04 (classic) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

I wonder if it should use the httpie namespace instead, with the http app command as the default alias?

The http snap predates aliases…
and the forum
and snapcraft


The results are nothing in particularly different at my end.

1 Like

nobody shouted about it breaking things, so I’m promoting it to stable.

1 Like

I noticed that the Chinese characters are displayed as ? in the http GET snapd:///v2/find?name=tree-strict output (result.publisher.display-name)

Also http GET snapd:///v2/find?name=open-syobon-action (result.title)

hm! that’s no good!

I’ll look into it.

Until I can fix it, a workaround:

LC_ALL=C.UTF-8 http GET snapd:///v2/find name==open-syobon-action
1 Like

Please try the one in candidate.

1 Like

The one in the candidate works fine at my end.