Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-476

ContentType.create fails even if it is compatible to a valid content type according to the RFC: https://tools.ietf.org/html/rfc2045#section-5.1

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.4.6
    • 4.4.7
    • None
    • None
    • all

    Description

      ContentType.create fails even if it is compatible to a valid content type according to the RFC: https://tools.ietf.org/html/rfc2045#section-5.1

      whereas ContentType.parse does not.

      And additionally ContentType.parse can not be called for everything.
      Because it drops bolded part of such header "multipart/form-data;boundary*=---------------------------j2radvtrk*"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            onders Onder Sezgin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment