Opened 12 years ago

Closed 12 years ago

#445 closed enhancement (fixed)

HttpRequest Proxy - attachement filename from server is lost

Reported by: belug Owned by: belug
Priority: major Milestone: 1.4.0
Component: server Version: trunk
Keywords: HttpRequest proxy filename Cc: adube

Description

When you use the proxy to get a file on a third party server, the filename will be lost.

By adding a callback function to read header for cURL we could be able to retrive the filename.

Only if it's an attachement.

Attachments (1)

445-httprequestproxy-save_attachement_name-A1.diff (2.6 KB ) - added by belug 12 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by belug, 12 years ago

This add the finctionnality of parsing Remote headers to cURL.

And I added in the parse the findung of the remote file name when it's an attachement.

I've tested it on many different requests and it did not changed any json requests.

It has been cleaned by the codesniffer.

comment:2 by adube, 12 years ago

Cc: adube added

comment:3 by belug, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r1367

Note: See TracTickets for help on using tickets.