- 
                Notifications
    
You must be signed in to change notification settings  - Fork 24
 
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
The Headers section of the CMR Search API documentation describes the Client-Id header as follows:
Client-Id- Indicates a name for the client using the CMR API. Specifying this helps Operations monitor query performance per client. It can also make it easier for them to identify your requests if you contact them for assistance.
Given that there are token and bearer_token methods in the Query class for conveniently setting the Authorization header, providing a client_id method would be convenient for supplying the Client-Id header.
Further, I recommend the following:
- When the user does not invoke the 
client_idmethod to specify their own chosen ID for identification for assistance, a default should be set. I recommend something like this:python_cmr-vX.Y.Z, whereX.Y.Zis the version ofpython_cmr - When the user does invoke the 
client_idmethod, the following suffix should be added to the value specified by the user:(python_cmr-vX.Y.Z), with a space character between the user-supplied value and the suffix. 
frankinspace and Sharvin-M
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers