RespContentTypePlug v0.1.0 RespContentTypePlug View Source

A Plug to set "content-type" in response headers.

Link to this section Summary

Functions

Callback implementation for Plug.call/2

Callback implementation for Plug.init/1

Link to this section Functions

Link to this function

call(conn, content_type) View Source

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.