Skip to content

Commit

Permalink
Removes GAE workaround, fixes #367
Browse files Browse the repository at this point in the history
  • Loading branch information
botic committed Jul 16, 2019
1 parent 3d07500 commit 6ee770f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions modules/ringo/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ var {Buffer} = require('ringo/buffer');
var {Binary, ByteArray, ByteString} = require('binary');
var {MemoryStream} = require('io');

// prevents illegal access exceptions in App Engine since
// App Engine doesn't allow any filesystem-related operations
var open = null,
createTempFile = null;

if (java.lang.System.getProperty("com.google.appengine.runtime.version") == null) {
open = require('fs').open;
var open = require('fs').open,
createTempFile = require('ringo/utils/files').createTempFile;
}

export('ResponseFilter', 'Headers', 'getMimeParameter', 'urlEncode', 'setCookie',
'isUrlEncoded', 'isFileUpload', 'parseParameters', 'mergeParameter',
Expand Down

0 comments on commit 6ee770f

Please sign in to comment.