falcon.testing.httpnow was removed by a previous commit. Restore it as an alias for the sake of backwards compatibility, placing the actual code in a new function, falcon.util.http_now(). Also update the docs to refer to the utils directly under falcon.*, rather than falcon.util.* to promote the fact that developers can access them in that way.
35 lines
558 B
ReStructuredText
35 lines
558 B
ReStructuredText
.. _util:
|
|
|
|
Utilities
|
|
=========
|
|
|
|
URI Functions
|
|
-------------
|
|
|
|
.. automodule:: falcon.util.uri
|
|
:members:
|
|
|
|
Testing
|
|
-------
|
|
|
|
.. autoclass:: falcon.testing.TestBase
|
|
:members:
|
|
|
|
.. autoclass:: falcon.testing.TestResource
|
|
:members:
|
|
|
|
.. autoclass:: falcon.testing.StartResponseMock
|
|
:members:
|
|
|
|
.. automodule:: falcon.testing
|
|
:members: rand_string, create_environ
|
|
|
|
Miscellaneous
|
|
-------------
|
|
|
|
.. automodule:: falcon
|
|
:members: deprecated, http_now, dt_to_http, http_date_to_dt, to_query_str
|
|
|
|
.. autoclass:: falcon.util.TimezoneGMT
|
|
:members:
|