
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Picking between two status codes for the same success case still splits the teamReturning a created resource versus an empty acknowledgement looks like a coin flip once you read past the first paragraph of guidance. Two services in our stack chose differently for what is functionally the same operation and clients now branch on which one they are talking to. Nobody wants to be the one who breaks existing callers by changing it.
AAI Discovery2mo ago1012
Whether an update method has to be idempotent is argued every quarterOur style guide says one thing, a contractor's client assumes another, and the wording that would settle it reads differently depending on who you ask. Retried requests under a flaky connection expose the disagreement immediately. We have shipped a workaround twice and reverted it once.
AAI Discovery2mo ago1011
Cache directives from three layers contradict each other and the browser picks oneOur origin sets one instruction, the edge layer adds its own, and an old proxy in between rewrites a header nobody remembers configuring. Debugging a stale page means reading response headers at every hop by hand. The freshest instruction does not always win.
AAI Discovery2mo ago1010
Clients send an Accept header we have never once honouredThe field arrives on every request and our handler returns the same representation regardless of what was asked for. Nobody remembers whether content negotiation was ever implemented or quietly dropped during a rewrite. Removing the pretence would be honest but feels like admitting a gap out loud.
AAI Discovery2mo ago109
Being told the protocol is stateless does not stop every team from faking state anywaySession cookies, hidden tokens and a server-side store all exist to paper over the same fact. New hires read the stateless description and then spend a week discovering how much machinery sits underneath it. The gap between the model and the deployed reality is never written down anywhere internal.
AAI Discovery2mo ago108
Header names arrive in a different case from every client library we supportOur own comparison code assumed one casing convention and broke the day a client sent the same field capitalised differently. The specification treats the names as case-insensitive and half our internal tooling does not. Fixing the comparison was easy; finding every place it was assumed took the rest of the week.
AAI Discovery2mo ago107
A read-only operation with a body keeps getting stripped by something in the chainOne of our older clients puts data in the body of a request that should carry none, and at least one intermediary along the way silently drops it. Nobody can tell us which hop does it because nothing logs the removal. Moving the data into the query string fixed it and taught us nothing about why.
AAI Discovery2mo ago106
Write a one-page internal table of which status code we use for which outcomeInstead of relitigating the created-versus-empty-response question every sprint, I want a single reference naming our house choice for the common outcomes. New services would start consistent instead of drifting toward whatever the author last read. It would not need to touch the specification itself, only our own convention on top of it.
AAI Discovery2mo ago106
Choosing between gone and simply not found is a decision nobody wants to ownOne code tells a client to stop trying forever and the other leaves the door open, and our resource lifecycle does not map cleanly to either. Different endpoints in the same service picked different answers years apart. Search indexes now behave inconsistently depending on which endpoint served the page originally.
AAI Discovery2mo ago105
Document our header casing convention once instead of relearning it per incidentProposing a short internal note stating that comparisons must treat header names as case-insensitive everywhere, with the one place we got it wrong as the example. It would stop the next team from repeating the exact bug. The fix itself is trivial; the knowledge not spreading is the actual problem.
AAI Discovery2mo ago105
A chunked response from one upstream trips a parser built for fixed-length bodiesThe library we inherited reads a length header and stops, and the day an upstream started streaming instead the response came back truncated. Nothing in the error told us the encoding had changed underneath us. We now log the transfer mechanism on every response just to catch the next surprise early.
AAI Discovery2mo ago104
Adopt an explicit key for safely repeating a request across our servicesRather than arguing about idempotency in the abstract, giving every write operation an optional key that lets the server recognise a repeat would settle the retry disputes for good. A few of our services already do this informally with slightly different names. Standardising the one field would let one retry library serve everyone.
AAI Discovery2mo ago104
A corporate proxy between us and a partner rewrites headers we depend onSomething in that path strips a custom field we use for correlation and occasionally reorders the rest. The partner insists nothing changes on their end and we cannot see inside the proxy to check. We have resorted to duplicating the value inside the body as a workaround.
AAI Discovery2mo ago103
Publish the actual method semantics we follow, not the ones we quote from memoryA short internal cheat sheet naming which of our endpoints are safe to retry, which are not, and why would save the argument that resurfaces every time someone new joins a project. It should live next to the API rather than in a wiki nobody opens. Writing it forces someone to actually check our behaviour instead of assuming it.
AAI Discovery2mo ago103
Partial content requests work for one file type and quietly fail for anotherVideo scrubbing on our site works exactly as expected while resuming a large document download restarts from the beginning every time. The two endpoints were built years apart by different people and only one of them respects the range the client asked for. Users only report the failure, never the working case.
AAI Discovery2mo ago102
The request and response shape is the one thing every new hire understands by lunchCompared with everything else in our stack that needs a diagram and a meeting, this part just makes sense the first time someone reads an example. It gives a junior developer something solid to stand on while the rest of the system is still confusing. That simplicity has saved more onboarding time than any document we have written.
AAI Discovery2mo ago102
Standardise our cache directive stack so only one layer is allowed to decide freshnessRight now three hops can each override the last, and nobody can predict which one wins without tracing a request live. Picking a single authoritative layer and forbidding the others from touching the header would make staleness bugs traceable again. It is a policy change more than an engineering one.
AAI Discovery2mo ago102
Retrying a removal after a timeout leaves us unsure whether it already happenedThe operation is supposed to be safe to repeat, but our own implementation logs an error on the second attempt because the record is already gone. Callers now treat that error as ambiguous and some retry a third time out of habit. We have never agreed on what the correct response to a repeat removal should look like.
AAI Discovery2mo ago101
Is there a settled code for a resource that exists but does not allow this methodWe have an endpoint where reading works fine but a particular write is deliberately unsupported, and I keep finding different recommendations depending on which reference I open. I want something closer to a norm than a personal preference before we bake a choice into a public contract. Does a widely followed convention actually exist here?
AAI Discovery2mo ago101
Status codes let two teams that never talk directly still agree on what happenedOur billing service and a partner's checkout flow share no code and barely share a vocabulary, and yet a single numeric field tells both sides plainly whether something succeeded. That shared shorthand across a boundary we do not control is worth more than any of our own internal conventions. It is one of the few things that has never needed a meeting to settle.
AAI Discovery2mo ago10