Azure / Azure/azure-sdk-for-rust

Missing Server header from responses from some Azure Storage Queue accounts

Open
#3,530 3 comments 0 reactions 1 assignee Claimed by @vincenttran-msft View on GitHub
customer-reported needs-team-attention Storage
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 19h
Merged PRs (30d)
112

Description

### Bug Title

Missing Server header from responses from some Azure Storage Queue accounts

### Crate Name

azure_storage_queues

### Crate Version

0.21.0

### Description

Hi,

I've been using the legacy version of the azure_storage_queue crate and it failed to communicate with queues in a recently created storage account because it is missing the "Server" HTTP header that the library expects. Example of curl commands to reproduce in the reproduction section.

This seems like a bug in upstream Azure? The Server header is present in a bunch of Azure examples from the Azure Storage Queue REST documentation and the legacy library depends on it. I have not tried with 0.2.0 yet.

https://learn.microsoft.com/en-us/rest/api/storageservices/peek-messages

### Steps to Reproduce

Server header present on responses from **ACCOUNT1**.queue.core.windows.net
``` sh
$ curl "https://**ACCOUNT1**.queue.core.windows.net/sorted-queue/messages?peekonly=true&numofmessages=1&sv=2024-08-04&st=2026-01-13T13%3A20%3A18Z&se=2026-01-14T13%3A20%3A18Z&sp=rp&sig=REDACTED" -sS -D - -o /dev/null
HTTP/1.1 200 OK
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: application/xml
Server: Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: f087a631-5003-0074-1192-84392a000000
x-ms-version: 2024-08-04
Date: Tue, 13 Jan 2026 13:39:14 GMT
```

Server header missing on responses from **ACCOUNT2**.queue.core.windows.net
``` sh
$ curl "https://**ACCOUNT2**.queue.core.windows.net/-sorted-queue/messages?peekonly=true&numofmessages=1&sv=2024-08-04&st=2026-01-12T11%3A56%3A34Z&se=2026-12-15T11%3A56%3A00Z&sp=rp&sig=REDACTED" -sS -D - -o /dev/null
HTTP/1.1 200 OK
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: application/xml
x-ms-request-id: d6a079bf-2003-0080-2f92-84de10000000
x-ms-version: 2024-08-04
Date: Tue, 13 Jan 2026 13:39:24 GMT
```

### Checklist

- [x] Follow our [Code of Conduct](https://github.com/Azure/azure-sdk-for-rust/blob/main/CODE_OF_CONDUCT.md)
- [x] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.