api-guidelines icon indicating copy to clipboard operation
api-guidelines copied to clipboard

Adding descriptions for x-ms-*-request-id headers

Open johanste opened this issue 3 years ago • 4 comments

...intended usage and descriptions.

johanste avatar Dec 27 '21 18:12 johanste

What is the server behavior if the user specifies x-ms-request-id as part of the request?

rakelkar avatar Feb 04 '22 00:02 rakelkar

If the client sends any invalid header, then the service should return 400 with an error code/message

JeffreyRichter avatar Feb 04 '22 00:02 JeffreyRichter

Is this considered an invalid header?

On Thu, Feb 3, 2022, 4:25 PM Jeffrey Richter @.***> wrote:

If the client sends any invalid header, then the service should return 400 with an error code/message

— Reply to this email directly, view it on GitHub https://github.com/microsoft/api-guidelines/pull/314#issuecomment-1029525893, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2CTBPQS4JD4FJUWOWWHODUZMMGJANCNFSM5K2YJ2UA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

rakelkar avatar Feb 04 '22 01:02 rakelkar

x-ms-request-id is a response-only header; it is invalid in a request

JeffreyRichter avatar Feb 04 '22 01:02 JeffreyRichter