Changelog #0007  — 🔒 Auth at the collection level
Published: 2021-12-27 13:36:11

---
title: Changelog #0007  — 🔒 Auth at the collection level
published: true
description: Collection-level auth, default User-Agent, timed responses in HTTPie for Terminal, and more.
cover_image: https://httpie.io/Images/Share/blog-changelog-0007.png
canonical_url: https://httpie.io/blog/changelog-0007
---

It’s Christmastime, and we've got some gifts for you! All aligned with our mission to provide the best experience to anyone working with APIs, of course.

When we announced [library and collections](https://httpie.io/blog/changelog-0005), we promised they'd have superpowers in the future. The future starts now, with the first of its superpowers released. In HTTPie for Terminal, we’ve implemented the most requested feature, which has been up-voted nearly 300 times.

Check out what's new 👇


## HTTPie for Web & Desktop

### 🔒 Auth at the collection level

If you use collections to group requests to the same API and that API has an authorization process, now you only need to set the authentication credentials once and relax from then on.

![collection_auth](https://httpie.io/Blog/changelog-0007/collection_auth-HMM7AYVK.png)

Set auth at the collection level, and it’ll auto-apply to every request that belongs to it. If you go to a nested request, you’ll verify the inherited auth, and you’ll be able to override it if needed.

### ✨ Other improvements

- Have you noticed that an active request tab gets highlighted in the library sidebar? It helps with locating it. And now it happens the same to the active collection tabs.
- Context menus could be open all on top of another. How would you know which one was important for you at the time? Now, when you open a context menu, other ones get closed.
- We now also specify a default `User-Agent: HTTPie` header in every request.

### 🪲 Fixes

- Duplicating a request was not adding it to the library. Now it does.
- Sending a body with `GET` requests is not very common, yet you might need it. Now nothing stops you from doing it.


## HTTPie for Terminal
Here’s a summary of this week’s improvements to the [development version](https://github.com/httpie/httpie) of [HTTPie for Terminal](https://httpie.io/cli), which will be part of the upcoming v3.0.0 release.

### ⏱️ Timed responses ([#1250](https://github.com/httpie/httpie/pull/1250))
One of the most requested features of all time has been the ability to see the response time natively. And now the new meta section includes the total time spent sending the request / receiving the response. You can see it through the new `m` argument to `--print` (included by default with `-vv` and there’s also a new shortcut `--meta` to only print the meta information). See it in action below:

```bash-termible
$ http --print=bm pie.dev/get
```

If you are using the [new Pie styles](https://httpie.io/blog/changelog-0006), through `pie-dark`/`pie-light`, you’ll see this output colored, according to the response time.


![timed_responses](https://httpie.io/Blog/changelog-0007/timed_responses-M5J4ZBOD.png)

### ✨ Improvements

- Friendlier error messages. If you type the URL wrong or have some connection issues, you’ll no longer see a clunky error message. If you have other cases where some of the error messages are annoying, please let us know. ([#1249](https://github.com/httpie/httpie/pull/1249))

## Happy testing, and see you next week!

- 💁🏻‍♀️ If you’re not on the private beta yet, you can [join the waitlist here](https://httpie.io/beta).
- 👉 You can also follow [@httpie](https://twitter.com/httpie) and join our [Discord community](https://httpie.io/discord).
- 👩‍💻 We’re looking for new colleagues in [engineering and design roles](https://httpie.io/jobs).

---

Originally published on [HTTPie blog](https://httpie.io/blog/changelog-0007).