Skip to content

Commit

Permalink
fix(resources): fix download of INSPIRE code lists
Browse files Browse the repository at this point in the history
For some code lists requests may time out if a language is not
explicitly specified.
  • Loading branch information
stempler committed Oct 24, 2023
1 parent 609f811 commit cd91075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ task downloadInspireCodeLists {
exec {
workingDir = genericDir
executable = 'wget'
args '--force-directories', '--no-host-directories', "--header=Accept: application/xml", url
args '--force-directories', '--no-host-directories', "--header=Accept: application/xml", "--header=Accept-Language: en", url
}
}

Expand Down

0 comments on commit cd91075

Please sign in to comment.