Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-871

Add FileBody constructor with explicit filename

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0 Final
    • 4.1 Alpha1
    • HttpClient (classic)
    • None

    Description

      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.

      Attachments

        1. FileBody.patch
          5 kB
          Gerald Turner

        Activity

          People

            Unassigned Unassigned
            gturner Gerald Turner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: