Skip to content

Commit 6dc8d84

Browse files
committed
Better user agent
1 parent 7113f81 commit 6dc8d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/image_proxy/lib/image_proxy_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Future<shelf.Response> handler(shelf.Request request) async {
173173
});
174174
}
175175

176-
request.headers.add('user-agent', 'pub-proxy');
176+
request.headers.add('user-agent', 'Image proxy for pub.dev. See https://github.com/dart-lang/pub-dev/pkg/image-proxy. If you have any issues, contact [email protected].');
177177
request.followRedirects = false;
178178
scheduleRequestTimeout();
179179
var response = await request.close();

0 commit comments

Comments
 (0)