Skip to content

Commit

Permalink
[FAB-1232] Add 413 Request Entity Too Large status code
Browse files Browse the repository at this point in the history
Subtask of FAB-1171

Needed for BroadcastResponse when tx is too large to
process.

Change-Id: I84fd5728fc5dafbb8dcc0fb8a680be26035b8fc7
Signed-off-by: Luis Sanchez <[email protected]>
  • Loading branch information
Luis Sanchez committed Dec 5, 2016
1 parent 92bbf99 commit c228cad
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 59 deletions.
122 changes: 63 additions & 59 deletions protos/common/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protos/common/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ enum Status {
BAD_REQUEST = 400;
FORBIDDEN = 403;
NOT_FOUND = 404;
REQUEST_ENTITY_TOO_LARGE = 413;
INTERNAL_SERVER_ERROR = 500;
SERVICE_UNAVAILABLE = 503;
}
Expand Down

0 comments on commit c228cad

Please sign in to comment.