diff --git a/CHANGELOG.md b/CHANGELOG.md index d5fbbdc..53984d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to the "vscode-abap-remote-fs" extension will be documented Format based on [Keep a Changelog](http://keepachangelog.com/) +## [0.3.4] + +### Fixed + +- missing content-type header on save + ## [0.3.3] - 2019-01-19 ### Added diff --git a/package.json b/package.json index 2dd2984..60b1eb7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-abap-remote-fs", "displayName": "vscode_abap_remote_fs", "description": "Work on your ABAP code straight from the server", - "version": "0.3.3", + "version": "0.3.4", "publisher": "murbani", "license": "MIT", "icon": "images/abapfs_icon.png", diff --git a/src/adt/abap/AbapObject.ts b/src/adt/abap/AbapObject.ts index 91fde7f..fa189a0 100644 --- a/src/adt/abap/AbapObject.ts +++ b/src/adt/abap/AbapObject.ts @@ -167,7 +167,10 @@ export class AbapObject { query: `lockHandle=${encodeURIComponent(lockId)}${trselection}` }), "PUT", - { body: contents } + { + body: contents, + headers: { "content-type": "text/plain; charset=utf-8" } + } ) }