# Revert "std.http.Server: add Request.getHeader\(\) function \(\#21625\)" · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/df1fa36feb04f932f47ddc5ab7091306e39bcc39)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: df1fa36feb04f932f47ddc5ab7091306e39bcc39

Requested commit: df1fa36feb04f932f47ddc5ab7091306e39bcc39

Commit: df1fa36feb04f932f47ddc5ab7091306e39bcc39

Tree: b2e61d4f13d718b0c6d223240e45bb1a212354b5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "std.http.Server: add Request.getHeader() function (#21625)"

This reverts commit 21823d1b5d1ebfa27df954c2cef5d0f231fb8402.

It's a bad API that could easily lead to O(N^2) logic.

```

## Parents

- [21823d1b5d1ebfa27df954c2cef5d0f231fb8402](https://git.cafe/gitcafe/zig/commit/21823d1b5d1ebfa27df954c2cef5d0f231fb8402?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/df1fa36feb04f932f47ddc5ab7091306e39bcc39?format=markdown)
