labkey.getRequestOptions: Helper function to get the HTTP request options for a specific method type.
Description
The internal functions for labkey.get() and labkey.post() use this labkey.getRequestOptions()
helper to build up the HTTP request options for things like CSRF, CURL options, and authentication
properties. This function is also exposed for general use if you would like to make your own
HTTP request but need to use those request options as set in your session context.