You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gerald Turner (JIRA)" <ji...@apache.org> on 2009/09/03 22:52:57 UTC
[jira] Created: (HTTPCLIENT-871) Add FileBody constructor with
explicit filename
Add FileBody constructor with explicit filename
-----------------------------------------------
Key: HTTPCLIENT-871
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-871
Project: HttpComponents HttpClient
Issue Type: Improvement
Components: HttpMime
Affects Versions: 4.0 Final
Reporter: Gerald Turner
Priority: Trivial
Attachments: FileBody.patch
FileBody does not allow the filename field in the Content-Disposition header to be overriden, the filename taken from the File object - I have software that creates temporary files and needs to assign an implicit logical filename.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-871) Add FileBody constructor with
explicit filename
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-871.
------------------------------------------
Resolution: Fixed
Fix Version/s: 4.1.0
Patch checked in.
Oleg
> Add FileBody constructor with explicit filename
> -----------------------------------------------
>
> Key: HTTPCLIENT-871
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-871
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpMime
> Affects Versions: 4.0 Final
> Reporter: Gerald Turner
> Priority: Trivial
> Fix For: 4.1.0
>
> Attachments: FileBody.patch
>
>
> FileBody does not allow the filename field in the Content-Disposition header to be overriden, the filename taken from the File object - I have software that creates temporary files and needs to assign an implicit logical filename.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-871) Add FileBody constructor with
explicit filename
Posted by "Gerald Turner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerald Turner updated HTTPCLIENT-871:
-------------------------------------
Attachment: FileBody.patch
Patch FileBody and TestMultipartForm to include and unit test the additional constructor
> Add FileBody constructor with explicit filename
> -----------------------------------------------
>
> Key: HTTPCLIENT-871
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-871
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpMime
> Affects Versions: 4.0 Final
> Reporter: Gerald Turner
> Priority: Trivial
> Attachments: FileBody.patch
>
>
> FileBody does not allow the filename field in the Content-Disposition header to be overriden, the filename taken from the File object - I have software that creates temporary files and needs to assign an implicit logical filename.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org