* Add support for sending JSON to SMS Settings Many SMS gateways expect data in raw JSON and do not accept plain form data. This change enables this by detecting a "Content-Type" header in the parameters with a value of "application/json", and in this case decoding the message text to unicode as expected by the `requests` module before passing the data to the `json` parameter. * Update frappe/core/doctype/sms_settings/sms_settings.py Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com> * Update frappe/core/doctype/sms_settings/sms_settings.py Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com> Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com> |
||
|---|---|---|
| .. | ||
| doctype | ||
| page | ||
| report | ||
| web_form | ||
| __init__.py | ||
| notifications.py | ||
| README.md | ||
| utils.py | ||
Core module contains the models required for the basic functioning of frappe including DocType, User (user), Role and others.