-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advanced Server #57
Labels
Comments
@japheth-waswa you can get size and path from cache $server->getCache()->get($key); |
Thanks. on the server side, how can I add additional parameters on the
response to client ie I wanna return the total size uploaded on each
request
…On Sat, Jun 16, 2018, 17:52 Ankit Pokhrel ***@***.***> wrote:
@japheth-waswa <https://github.com/japheth-waswa> you can get size and
path from cache
$server->getCache()->get($key);
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMJbvkLMY7Y2ewNuXehs213uyIZ5ST7ks5t9RuzgaJpZM4UqbG4>
.
|
The response header contains $uploadedBytes = $server->getRequest()->header('Upload-Offset'); |
Thanks lemme try them
…On Sun, Jun 17, 2018, 07:10 Ankit Pokhrel ***@***.***> wrote:
The response header contains Upload-Offset which is the sum of the offset
before the PATCH request and the number of bytes received and processed
or stored during the current PATCH request. To get the header you can do
something like this:
$uploadedBytes = $server->getRequest()->header('Upload-Offset');
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMJbitirndRs0255yavucPeEbD1cXESks5t9dbEgaJpZM4UqbG4>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great library,i have been able to get it up and running,though i need more functionality on the server ie
1.Returns/extract the size of file uploaded ie for each partial request
2.Returns/Extract the location of the uploaded file and the file name
The above two must be able to be done on the server side.
Thanks in advance.
The text was updated successfully, but these errors were encountered: