Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 0078fe8

Browse files
committed
Add a note about empty strings to user_agent param
1 parent dbf8336 commit 0078fe8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apilytics/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def __init__(
7070
An empty string and None are treated equally. Can have an optional "?" at the start.
7171
request_size: Size of the user's HTTP request's body in bytes.
7272
user_agent: Value of the `User-Agent` header from the user's HTTP request.
73+
An empty string and None are treated equally.
7374
apilytics_integration: Name of the Apilytics integration that's calling this,
7475
e.g. "apilytics-python-django". No need to pass this when calling from user code.
7576
integrated_library: Name and version of the integration that this is used in,

0 commit comments

Comments
 (0)