Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Could golang net package automatically add `Expect: 100-continue` header if body size > 1024 #39637
What version of Go are you using (
Adding the header is one thing, the client and the server has to also have expect support.
Expect support was added back in the day when modems were so slow you didn't want to try to send a large request only to find the server hung up 80% of the way through because the request was larger than it permitted.
What is the problem you are trying to solve?