Skip to content
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

fileInfo custom headers #10

Open
miyurusankalpa opened this issue Aug 16, 2016 · 0 comments
Open

fileInfo custom headers #10

miyurusankalpa opened this issue Aug 16, 2016 · 0 comments

Comments

@miyurusankalpa
Copy link
Contributor

In the b2 upload doc there is a X-Bz-Info header present.

Up to 10 of these headers may be present. The * part of the header name is replace with the name of a custom field in the file information stored with the file, and the value is an arbitrary UTF-8 string, percent-encoded. The same info headers sent with the upload will be returned with the download. The header name is case insensitive.

I have seen that you use this to pass on the file last modified time, but I haven't seen any support for custom X-Bz-Info headers.

'X-Bz-Info-src_last_modified_millis' => $options['FileLastModified']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant