FdsnPlugs.ContentTypeFix (fdsn_plugs v0.8.3)

View Source

For POST requests, force the content-type header and reset the body_params. This is necessary because FDSN specification does not say anything about the content-type header. So, some POST request can arrive without this. The Plug behaviour has to be forced.

Summary

Functions

call(conn, opts)

init(opts)