jenssegers / jenssegers/php-proxy

upload file proxy invalid

Open
#81 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
938
Forks
261
PR merge metrics
No merged PRs in 30d

Description

http://xxxx/aaa
`
$request = ServerRequestFactory::fromGlobals();
$guzzle = new \GuzzleHttp\Client();
$proxy = new Proxy(new GuzzleAdapter($guzzle));
$response = $proxy->forward($request)->to('http://yyyy');
`

action code in http://yyyy/aaa
`
var_dump($_GET,$_FILES);
`

`
curl -F "media=@a.png" "http://xxxx/aaa?type=image"
`
result:
array(1) {
["type"]=>
string(5) "image"
}
array(0) {
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.