Skip to content

fileInfo custom headers #10

@miyurusankalpa

Description

@miyurusankalpa

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']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions