[go: nahoru, domu]

Skip to content

Commit

Permalink
http: Adding status code for 502 - Bad Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmiceli-g committed Jun 3, 2013
1 parent 02f2035 commit 9e6b21d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ public class HttpStatusCodes {
/** Status code for an internal server error. */
public static final int STATUS_CODE_SERVER_ERROR = 500;

/**
* Status code for a bad gateway.
*
* @since 1.16
*/
public static final int STATUS_CODE_BAD_GATEWAY = 502;

/** Status code for a service that is unavailable on the server. */
public static final int STATUS_CODE_SERVICE_UNAVAILABLE = 503;

Expand Down

0 comments on commit 9e6b21d

Please sign in to comment.