Problem/Motivation

No have the size of file

Proposed resolution

Add the size file on return

Comments

thalles created an issue. See original summary.

thalles’s picture

Status: Needs work » Needs review
StatusFileSize
new896 bytes

Follow the patch!

jrockowitz’s picture

StatusFileSize
new4.92 KB

Attached patch adds test coverage with minor fixes.

jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored 08467bd on 8.x-5.x
    Issue #3072768 by thalles, jrockowitz: Add new properties for file...
raphaellmario’s picture

Patch Update.
I added the option to capture the file extension to make it easier to build custom requests.

raphaellmario’s picture

Assigned: thalles » Unassigned
Status: Fixed » Needs review
jrockowitz’s picture

Status: Needs review » Needs work

The file extension should be the file's actual extension, parsed from the file's name. For example, jpg and jpeg are valid file extensions.

jrockowitz’s picture

Status: Needs work » Needs review
StatusFileSize
new2.69 KB
jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community
jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

  • jrockowitz authored 8f89c3b on 8.x-5.x
    Issue #3072768 by jrockowitz, thalles, raphaellmario: Add new properties...
thalles’s picture

Thanks @all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.