[ 
https://issues.apache.org/jira/browse/TINKERPOP-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866386#comment-16866386
 ] 

Bryn Cooke commented on TINKERPOP-2243:
---------------------------------------

When sending a request there is already an arbitrary map that is populated from 
the RequestOptions and could be extended to allow custom fields, but is 
probably out of scope for this ticket.

I'd be keen on not having any of this auto-magically wired up based on the 
classpath. What happens if the user has two clients in the same process but 
want different fields? What if the fields that are sent with the request are 
not static?

> Add user-agent to RequestOptions
> --------------------------------
>
>                 Key: TINKERPOP-2243
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2243
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver, server
>    Affects Versions: 3.4.2
>            Reporter: Bryn Cooke
>            Priority: Major
>
> It would be useful to know the 'user-agent' that is sending a request so that 
> the server can react in different ways. For instance:
>  * To log differently.
>  * To give different error messages.
> For instance, if the user is connecting via gremlin console then error 
> messages can include gremlin console specific help.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to