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 comment

15

u/groumly Oct 24 '26

Asp (can’t remember if it was the og or the .net one, I think .net) did a lot of crap like that back in day.

It was used to turn stateless web framework into a stateful mode iirc.

12

u/lenswipe Oct 24 '26

Ah yes __VIEWSTATE

I remember seeing that hidden field in a form, decoding it and was like ".....no fucking way"

6

u/groumly Oct 24 '26

Oh, that rings a bell, yes. Wait, so was it actually stored in cookies then? Or did I get confused and it was just passed in a hidden form on every damn link of every damn page?

9

u/lenswipe Oct 24 '26

no it was a hidden form field that got posted between pages

5

u/dunder_name Oct 25 '26

that sounds like a nightmare

3

u/lenswipe Oct 25 '26

I've never had to maintain it. But I've seen it on a few websites...

1

u/Chesterlespaul Oct 24 '26

Oh that would be so useful back in the day! Reactive state set from web requests.