Move defaulting code to a common method
Move defaulting code to a common method

This is currently lacking documentation. Coming soon.

mubassirhayat/Requests,meox/Requests,ifwe/Requests,dskanth/Requests,meox/Requests,meox/Requests,andreipetcu/Requests