Skip to content

Set user agent when performing HTTP requests #1691

@osma

Description

@osma

Description of the enhancement

Currently when Skosmos performs HTTP requests (e.g. SPARQL queries and requests for resolving Linked Data), it uses EasyRdf library to perform the actual request. EasyRdf sets its own User-Agent header EasyRdf HTTP Client. This may look suspicious; for example recently CloudFlare blocked some requests from EasyRdf.

The suggestion is to set a custom User-Agent header. The most logical value would be Skosmos X.Y where X.Y is the version number that is already generated for example for the <meta name="generator"> tag in the HTML pages.

Who are the users that would benefit from the enhancement and how?

Any organization using Skosmos.

What new functionalities would the enhancement make possible?

The HTTP requests performed by Skosmos would be more reliable and easier to trace.

Why is the enhancement important?

It reduces potential problems.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions