Welcome to the "trac"-ing site of http-access2!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #154 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Another CRLF needed after last boundary marker in multipart upload

Reported by: user Assigned to: nahi
Priority: highest Milestone: 2.0.8
Component: core Version: 2.0
Keywords: Cc:

Description (Last modified by nahi)

Using:

ruby 1.8.5 (2007-03-13 patchlevel 35) [i386-linux]
  s.name = "http-access"
  s.version = "2.0.7"
  s.date = "2007-05-13"

Connecting To:

Server: Apache
ETag: "13910b-7fd-4557472c"

403 Forbidden response from a multipart form request which includes a text/plain file.

Another + CRLF after last boundary marker made the request acceptable.

 diff http.rb~ http.rb
499c499
<           }.join('') + "--#{boundary}--" + CRLF
---
>           }.join('') + "--#{boundary}--" + CRLF + CRLF

Change History

05/23/07 12:27:26 changed by user

Using: ruby 1.8.5 (2007-03-13 patchlevel 35) [i386-linux]

s.name = "http-access" s.version = "2.0.7" s.date = "2007-05-13"

Connecting To: Server: Apache ETag: "13910b-7fd-4557472c"

403 Forbidden response from a multipart form request which includes a text/plain file.

Another + CRLF after last boundary marker makes the request submittable.

 diff http.rb~ http.rb
499c499
<           }.join('') + "--#{boundary}--" + CRLF
---
>           }.join('') + "--#{boundary}--" + CRLF + CRLF

05/26/07 07:20:08 changed by nahi

  • priority changed from normal to highest.
  • milestone changed from undefined to 2.0.8.

06/20/07 12:42:00 changed by nahi

  • description changed.

06/20/07 12:44:43 changed by nahi

  • status changed from new to closed.
  • resolution set to fixed.

(In [150]) * add empty epilogue chunk explicitly. Thanks to the anonymous user who reported #154. closes #154.