View Source HTTParrot.PHandler (HTTParrot v1.4.0)

This REST handler will respond to POST, PATCH and PUT requests.

Summary

Functions

Link to this function

allowed_methods(req, state)

View Source

When a request is made to /post, allowed_methods will return POST for example

Link to this function

content_types_accepted(req, state)

View Source
Link to this function

content_types_provided(req, state)

View Source
Link to this function

handle_binary(req, chunks \\ [])

View Source
Link to this function

handle_multipart(req, parts \\ [])

View Source
Link to this function

post_multipart(req, state)

View Source