Reputation
473
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 13
Impact
~12k people reached

  • 0 posts edited
  • 2 helpful flags
  • 4 votes cast
Dec
12
comment HTTP Response Header for a unique Request ID for REST service
problem with custom headers is they can legitimately be stripped out by proxies. In the end, I went with the Pragma header - it's there to provide a mechanism to send back your own custom data, and it shouldn't be stripped by proxies by default, unless an infrastructure bod explicitly sets it up to be.
May
18
awarded  Notable Question
Jan
10
awarded  Popular Question
Aug
27
awarded  Popular Question
Aug
26
awarded  Nice Question
Aug
8
awarded  Yearling
Oct
30
comment Suggested HTTP REST status code for 'request limit reached'
I went with a 429 in the end - it's in the draft spec but I seriously doubt it'll end up being used for anything else.
Oct
30
accepted Suggested HTTP REST status code for 'request limit reached'
Aug
29
answered Actions and Controllers managing strategy in MVC apps
Aug
8
awarded  Yearling
Jul
26
revised Should I charge a client for mistakes that I made?
added 5 characters in body
Jul
26
revised Should I charge a client for mistakes that I made?
Exemption to my rule based on whether it's your choice or not.
Jul
26
awarded  Nice Answer
Jul
25
awarded  Editor
Jul
25
revised HTTP Response Header for a unique Request ID for REST service
Added link to related question on SO
Jul
25
comment HTTP Response Header for a unique Request ID for REST service
Actually, no I haven't, looks like I misinterpreted the spec's definition of 'message-header' as being a specific header and not a BNF rule. Hmmm...
Jul
25
comment HTTP Response Header for a unique Request ID for REST service
Yes it is an option. But something feels hacky about an enveloped response like this. Consider a json operation returning a string; now it's returning a type with two members and clients have to do more work to get their data. Not very restful! I have found a header in the spec that might do it, I'm posting an answer...
Jul
25
answered Should I charge a client for mistakes that I made?
Jul
25
asked HTTP Response Header for a unique Request ID for REST service
Jul
11
awarded  Critic