You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i encountered a small problem, not sure if it could be considered a bug.
I'm doing my upload with a POST request — as in, the HTTP header is set to post and the resumable data is in the POST body.
However, the URL I'm sending the POST request to has a GET param as well, ie. ``htttp://localhost/upload?token=lol`. Because of that, the SimpleRequest class in Resumable.php thinks it's a GET request, tried to load the params from GET and fails.
I think it would make sense to change the code here to use the HTTP header to detect the type of request rather than the ìsset() call. What do you think? I can probably submit a PR if that's ok for you.
The text was updated successfully, but these errors were encountered:
Hi,
i encountered a small problem, not sure if it could be considered a bug.
I'm doing my upload with a POST request — as in, the HTTP header is set to post and the resumable data is in the POST body.
However, the URL I'm sending the POST request to has a GET param as well, ie. ``htttp://localhost/upload?token=lol`. Because of that, the SimpleRequest class in Resumable.php thinks it's a GET request, tried to load the params from GET and fails.
I think it would make sense to change the code here to use the HTTP header to detect the type of request rather than the
ìsset()
call. What do you think? I can probably submit a PR if that's ok for you.The text was updated successfully, but these errors were encountered: