Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Add valid_entity_length callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed Oct 23, 2012
1 parent 3bdf265 commit 3deea1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/logplex_logs_rest.erl
Expand Up @@ -14,6 +14,7 @@
,allowed_methods/2
,is_authorized/2
,known_content_type/2
,valid_entity_length/2
,malformed_request/2
,process_post/2
,content_types_provided/2
Expand Down Expand Up @@ -90,6 +91,9 @@ known_content_type(Req, State) ->
{false, Req2, State}
end.

valid_entity_length(Req, State) ->
{true, Req, State}.

malformed_request(Req, State) ->
{false, Req, State}.

Expand Down

0 comments on commit 3deea1a

Please sign in to comment.