Skip to content

Commit c21e78d

Browse files
committed
Add UTF8 Support and update readme
1 parent 7a92baa commit c21e78d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Aeon-ArchivesSpace-Addon/Aeon-ArchivesSpace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ function SendApiRequest(apiPath, method, parameters, authToken)
755755
LogDebug('apiPath: ' .. apiPath);
756756

757757
local webClient = types["System.Net.WebClient"]();
758-
758+
webClient.Encoding = Types["System.Text.Encoding"].UTF8;
759759
webClient.Headers:Clear();
760760
if (authToken ~= nil and authToken ~= "") then
761761
webClient.Headers:Add("X-ArchivesSpace-Session", authToken);

Readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Aeon ArchivesSpace Client Addon
22

33
## Version
4+
5+
- 3.0.1:
6+
- A UserAgent HTTP Header is sent in API calls to better support ArchivesSapces hosted by Lyrasis.
7+
- Better support for ArchivesSpace LibraryHost instances where the AppPrefix is not standard.
8+
- Set API to use UTF8 for ArchivesSpace API requests
49
- 3.0:
510
- Added support for embedded WebView2 browser. The addon will use this browser if it is available (Aeon 5.2+), and will use the embedded Chromium browser otherwise.
611
- 2.1:

0 commit comments

Comments
 (0)