C
C
caution2018-04-12 03:13:36
Ruby on Rails
caution, 2018-04-12 03:13:36

How to get data in application/pkcs7-mime format?

How to make rail accept requests with Content-Type: application/pkcs7-mime ?
now all parameters of such a request are simply cut (default behavior)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
blackst0ne, 2018-04-12
@blackst0ne

# config/initializers/mime_types.rb
Mime::Type.register "application/pkcs7-mime", :pkcs7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question