Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Fix POST data processsing in xp-forge/web adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Nov 13, 2017
1 parent 4164f78 commit 1a0c720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Scriptlets for the XP Framework ChangeLog

## ?.?.? / ????-??-??

## 9.1.1 / 2017-11-13

* Fixed HTTP POST data processing in xp-forge/web adapter - @thekid

## 9.1.0 / 2017-11-12

* Merged PR #21: Add xp-forge/web adapter - @thekid
Expand Down
2 changes: 1 addition & 1 deletion src/main/php/scriptlet/Run.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function handle($request, $response) {
$req->setParams($request->params());
$req->setHeaders(array_merge($request->headers(), $request->values()));
$req->readData= function() use($request) {
return $request->read(-1);
return $request->stream();
};

// Proxy response
Expand Down

0 comments on commit 1a0c720

Please sign in to comment.