r/programminghorror • • Oct 23 '26

GitHub's HTTP header

Post image

This is the crazy thing I've found after analysis why the CI test fails with "Maximum header size exceeded" today.

964 Upvotes

53 comments sorted by

View all comments

Show parent comments

-23

u/AyrA_ch Oct 23 '26

They could have gone with *.blob.core.windows.net to massively shorten the header.

69

u/Alikont Oct 23 '26

That's a generic domain for all Azure Blob storage accounts. So I could register my own Storage Account and get the matching url.

1

u/Online_Matter Oct 24 '26

Should they have used a reverse proxy then? 

3

u/n9iels Oct 25 '26

In terms of managing CSP headers that would be easier in theory. In praktische however, most analytics libraries have statics urls and marketing collegues don't care and will still create tickets to "whitelist absolutelyrandom.whatever.example.com".

1

u/Online_Matter Oct 25 '26

That's what I was thinking and you're painfully right. Lot of urls in the post seems to be for the same project however.