Skip to content

Commit

Permalink
added content-type header on save
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellourbani committed Jan 23, 2019
1 parent 2cd70a8 commit 01b2dc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/adt/abap/AbapObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
)
}

Expand Down

0 comments on commit 01b2dc5

Please sign in to comment.