1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk

This commit is contained in:
Jan Steemann 2016-04-07 17:02:15 +02:00
commit 99719c6957
1 changed files with 2 additions and 1 deletions

View File

@ -808,7 +808,8 @@ static void JS_Download(v8::FunctionCallbackInfo<v8::Value> const& args) {
SimpleHttpClient client(connection.get(), timeout, false);
client.setSupportDeflate(false);
client.setExposeArangoDB(false);
// security by obscurity won't work. Github requires a useragent nowadays.
client.setExposeArangoDB(true);
v8::Handle<v8::Object> result = v8::Object::New(isolate);