Add new DM server HTTP response code
Add code 413 Payload too large. This error is returned when the request is too large, usually caused by report uploading requests. Add this error so that we could publish metrics and setup retry logic based on it. Any exist error handling code treat the new error same as DM_STATUS_HTTP_STATUS_ERROR so there is no behavior change. Bug: 959398 Change-Id: Id4e1c1a82558bc56d870cc247f88e343ef38a9ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632533Reviewed-by:Aga Wronska <agawronska@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Commit-Queue: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#665165}
Showing
Please register or sign in to comment