Skip to content

Commit

Permalink
Merge pull request #4503 from apache/410-gone
Browse files Browse the repository at this point in the history
add error_info clause for 410 Gone
  • Loading branch information
rnewson committed Mar 29, 2023
2 parents 467e14e + 25d6e7d commit 75ee0f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chttpd/src/chttpd.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,8 @@ error_info({error, <<"endpoint has an invalid url">> = Reason}) ->
{400, <<"invalid_replication">>, Reason};
error_info({error, <<"proxy has an invalid url">> = Reason}) ->
{400, <<"invalid_replication">>, Reason};
error_info({gone, Reason}) ->
{410, <<"gone">>, Reason};
error_info({missing_stub, Reason}) ->
{412, <<"missing_stub">>, Reason};
error_info(request_entity_too_large) ->
Expand Down

0 comments on commit 75ee0f0

Please sign in to comment.